]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
VG_(OSetGen_ResetIterAt)() now also works for OSet's that do not have an
authorBart Van Assche <bvanassche@acm.org>
Sat, 21 Feb 2009 16:12:20 +0000 (16:12 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 21 Feb 2009 16:12:20 +0000 (16:12 +0000)
explicit comparison function.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9212

coregrind/m_oset.c

index 2955ef2281323ff5ab6de129d1fe8f450f536364..aeb7341b14860d13b57b75b0a7d52dca2d9e8e85 100644 (file)
@@ -808,9 +808,6 @@ void VG_(OSetGen_ResetIterAt)(AvlTree* oset, void* k)
       if (oset->cmp) {
          cmpresS = (Word)slow_cmp(oset, k, t);
       } else {
-         /* this is believed to be correct, but really needs testing
-            before the assertion is removed. */
-         vg_assert(0);
          cmpresS = fast_cmp(k, t);
       }