From 96a35bb1fd09de2e2f43bda508c8c92577c88529 Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 6 Jan 2022 19:48:50 +0100 Subject: [PATCH] Fix warning about Unused variables --- cs.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/cs.c b/cs.c index d0400e70..786922b4 100644 --- a/cs.c +++ b/cs.c @@ -535,9 +535,6 @@ static int str_replace(char *result, char *target, const char *str1, char *str2) static void fill_insn(struct cs_struct *handle, cs_insn *insn, char *buffer, MCInst *mci, PostPrinter_t postprinter, const uint8_t *code) { -#ifndef CAPSTONE_DIET - char *sp, *mnem; -#endif uint16_t copy_size = MIN(sizeof(insn->bytes), insn->size); // fill the instruction bytes.