From: Bart Van Assche Date: Sat, 21 Feb 2009 16:12:20 +0000 (+0000) Subject: VG_(OSetGen_ResetIterAt)() now also works for OSet's that do not have an X-Git-Tag: svn/VALGRIND_3_5_0~953 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=844d75b8f3d67ca15734615ee0227af38875e817;p=thirdparty%2Fvalgrind.git VG_(OSetGen_ResetIterAt)() now also works for OSet's that do not have an explicit comparison function. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9212 --- diff --git a/coregrind/m_oset.c b/coregrind/m_oset.c index 2955ef2281..aeb7341b14 100644 --- a/coregrind/m_oset.c +++ b/coregrind/m_oset.c @@ -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); }