]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove unused variable.
authorNicholas Nethercote <n.nethercote@gmail.com>
Sat, 3 Jul 2004 20:27:39 +0000 (20:27 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Sat, 3 Jul 2004 20:27:39 +0000 (20:27 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2457

cachegrind/cg_main.c

index 868535cd0ea01082465f664b13a1f73d38d12575..4a5c7d66fbf145987d4f9fc1fccb381b4c04f76e 100644 (file)
@@ -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);