Fix master werror issue adding a default switch block

This commit is contained in:
Sergi Àlvarez i Capilla 2021-12-14 16:26:03 +01:00
parent 0f6ec113d2
commit 87f28192a8

View File

@ -975,7 +975,7 @@ static int i8051_op(RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *buf, int len
break;
}
switch(_8051_ops[i].instr) {
switch (_8051_ops[i].instr) {
case OP_PUSH:
op->stackop = R_ANAL_STACK_INC;
op->stackptr = 1;
@ -1023,6 +1023,9 @@ static int i8051_op(RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *buf, int len
op->jump = arg_offset (addr + op->size, buf[op->size - 1]);
op->fail = addr + op->size;
break;
default:
// TODO
break;
}
if (op->ptr != -1 && op->refptr == 0) {