From: Florian Krohm Date: Mon, 7 Oct 2013 20:25:17 +0000 (+0000) Subject: Remove unused variable (and associated compiler warning). X-Git-Tag: svn/VALGRIND_3_9_0~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0ff47dfccafbb30ac7986da01a14c6caaf83e96;p=thirdparty%2Fvalgrind.git Remove unused variable (and associated compiler warning). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13625 --- diff --git a/coregrind/m_oset.c b/coregrind/m_oset.c index e01f3fcba2..d1a21e8526 100644 --- a/coregrind/m_oset.c +++ b/coregrind/m_oset.c @@ -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;