From 9090672e97a1a7cad12d8aab298a5ae8513790b9 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sun, 12 Oct 2014 20:24:33 +0800 Subject: [PATCH] clean cs_disasm_iter() --- cs.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cs.c b/cs.c index e2af3b7d2..320768dc7 100644 --- a/cs.c +++ b/cs.c @@ -712,11 +712,6 @@ bool cs_disasm_iter(csh ud, const uint8_t **code, size_t *size, sizeof(insn->mnemonic) - 1); skipdata_opstr(insn->op_str, *code, skipdata_bytes); - // NOTE: if detail mode is OFF, content of detail pointer is irrelevant - // to be sure, zero out content of detail pointer - //if (insn->detail) - // memset(insn->detail, 0, sizeof(cs_detail)); - *code += skipdata_bytes; *size -= skipdata_bytes; *address += skipdata_bytes;