From 6cf57dabba4a6aafcc7b81f55188a9f65b6d4e96 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Sat, 3 Jul 2004 20:27:39 +0000 Subject: [PATCH] Remove unused variable. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2457 --- cachegrind/cg_main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/cachegrind/cg_main.c b/cachegrind/cg_main.c index 868535cd0e..4a5c7d66fb 100644 --- a/cachegrind/cg_main.c +++ b/cachegrind/cg_main.c @@ -791,7 +791,6 @@ UCodeBlock* SK_(instrument)(UCodeBlock* cb_in, Addr orig_addr) UInt x86_instr_size, data_size = INVALID_DATA_SIZE; Addr helper; Int argc; - UInt stack_used; Bool BB_seen_before = False; Bool instrumented_Jcond = False; Bool has_rep_prefix = False; @@ -1010,8 +1009,6 @@ UCodeBlock* SK_(instrument)(UCodeBlock* cb_in, Addr orig_addr) /* Initialise the CC in the BBCC array appropriately if it * hasn't been initialised before. Then call appropriate sim * function, passing it the CC address. */ - stack_used = 0; - sk_assert(x86_instr_size >= 1 && x86_instr_size <= MAX_x86_INSTR_SIZE); -- 2.47.2