Fix dead nested assignment librz/asm/p/asm_x86_nz.c
This commit is contained in:
parent
1fe63a1516
commit
60a176c9ae
1 changed files with 1 additions and 2 deletions
|
|
@ -5034,7 +5034,6 @@ static int parseOperand(RzAsm *a, const char *str, Operand *op, bool isrepop) {
|
|||
}
|
||||
} else if (last_type == TT_WORD) { // register
|
||||
nextpos = pos;
|
||||
RzFlagItem *flag;
|
||||
|
||||
if (isrepop) {
|
||||
op->is_good_flag = false;
|
||||
|
|
@ -5061,7 +5060,7 @@ static int parseOperand(RzAsm *a, const char *str, Operand *op, bool isrepop) {
|
|||
}
|
||||
op->type = OT_CONSTANT;
|
||||
RzCore *core = a->num ? (RzCore *)(a->num->userptr) : NULL;
|
||||
if (core && (flag = rz_flag_get(core->flags, str))) {
|
||||
if (core && rz_flag_get(core->flags, str)) {
|
||||
op->is_good_flag = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue