Kill a shadowed declaration of a local variable.
The variable tmp was already defined in the frame.
Redefining it makes some code linters grumpy.
Signed-off-by: Tyler J. Stachecki <tstache1@binghamton.edu>
diff --git a/cs.c b/cs.c
index ea2329d..9d745cf 100644
--- a/cs.c
+++ b/cs.c
@@ -681,7 +681,7 @@
total = NULL;
} else if (f != cache_size) {
// total did not fully use the last cache, so downsize it
- void *tmp = cs_mem_realloc(total, total_size - (cache_size - f) * sizeof(*insn_cache));
+ tmp = cs_mem_realloc(total, total_size - (cache_size - f) * sizeof(*insn_cache));
if (tmp == NULL) { // insufficient memory
// free all detail pointers
if (handle->detail) {