mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-30 17:00:26 +00:00
x86: fix a warning on Diet mode
This commit is contained in:
parent
2f661e003f
commit
0150f06553
@ -41914,8 +41914,8 @@ bool X86_lockrep(MCInst *MI, SStream *O)
|
||||
#endif
|
||||
break;
|
||||
case 0xf2: // repne
|
||||
#ifndef CAPSTONE_DIET // only care about memonic in standard (non-diet) mode
|
||||
opcode = MCInst_getOpcode(MI);
|
||||
#ifndef CAPSTONE_DIET // only care about memonic in standard (non-diet) mode
|
||||
if (valid_rep(MI->csh, opcode)) {
|
||||
prefix[c] = MI->x86_prefix[i];
|
||||
c++;
|
||||
|
Loading…
Reference in New Issue
Block a user