From: Florian Krohm Date: Sat, 16 Jan 2016 21:12:57 +0000 (+0000) Subject: Remove code that has no effect. Looks like a leftover from early X-Git-Tag: svn/VALGRIND_3_12_0~263 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f44db9afb363885125137b9f4623dea247429b2e;p=thirdparty%2Fvalgrind.git Remove code that has no effect. Looks like a leftover from early debugging days. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15760 --- diff --git a/coregrind/m_aspacemgr/aspacemgr-segnames.c b/coregrind/m_aspacemgr/aspacemgr-segnames.c index 761608d912..ef3d3ef564 100644 --- a/coregrind/m_aspacemgr/aspacemgr-segnames.c +++ b/coregrind/m_aspacemgr/aspacemgr-segnames.c @@ -250,9 +250,7 @@ dec_refcount(UInt ix) UInt size = get_slotsize(ix); /* Chain this slot in the freelist */ put_slotindex(ix, freeslot_chain); - get_slotindex(ix); put_slotsize(ix + slotsize_size, size); - get_slotindex(ix); freeslot_chain = ix; --num_segnames; if (0) VG_(am_show_nsegments)(0, "AFTER DECREASE rc -> 0");