]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove unused variable (and associated compiler warning).
authorFlorian Krohm <florian@eich-krohm.de>
Mon, 7 Oct 2013 20:25:17 +0000 (20:25 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Mon, 7 Oct 2013 20:25:17 +0000 (20:25 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13625

coregrind/m_oset.c

index e01f3fcba249cf12b970ac59c81f2e8852c5dcad..d1a21e8526dce00df3efc1afb5dcf7ea60ca54dc 100644 (file)
@@ -864,7 +864,7 @@ Bool VG_(OSetWord_Next)(AvlTree* t, UWord* val)
 // function supplied to VG_(OSetGen_Create).
 void VG_(OSetGen_ResetIterAt)(AvlTree* oset, const void* k)
 {
-   AvlNode *n, *t;
+   AvlNode *t;
    Word    cmpresS; /* signed */
    UWord   cmpresU; /* unsigned */
 
@@ -874,7 +874,6 @@ void VG_(OSetGen_ResetIterAt)(AvlTree* oset, const void* k)
    if (!oset->root)
       return;
 
-   n = NULL;
    // We need to do regular search and fill in the stack.
    t = oset->root;