diff --git a/MCInst.h b/MCInst.h index 34a347dd03..bd9b760f4b 100644 --- a/MCInst.h +++ b/MCInst.h @@ -154,7 +154,6 @@ struct MCInst { // A prefix byte gets value 0 when irrelevant. // This is copied from cs_x86 struct uint8_t x86_prefix[4]; - bool x86_lock_rep; // does this X86 insn contain LOCK/REP prefix? }; void MCInst_Init(MCInst *inst); diff --git a/cs.c b/cs.c index 08cf8e3ebb..3a388e27ce 100644 --- a/cs.c +++ b/cs.c @@ -446,8 +446,6 @@ size_t cs_disasm_ex(csh ud, const uint8_t *buffer, size_t size, uint64_t offset, handle->errnum = CS_ERR_OK; - memset(insn_cache, 0, sizeof(insn_cache)); - // save the original offset for SKIPDATA offset_org = offset;