From: Nicholas Nethercote Date: Sat, 3 Jul 2004 20:27:39 +0000 (+0000) Subject: Remove unused variable. X-Git-Tag: svn/VALGRIND_2_1_2~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cf57dabba4a6aafcc7b81f55188a9f65b6d4e96;p=thirdparty%2Fvalgrind.git Remove unused variable. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2457 --- 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);