]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove code that has no effect. Looks like a leftover from early
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 16 Jan 2016 21:12:57 +0000 (21:12 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 16 Jan 2016 21:12:57 +0000 (21:12 +0000)
debugging days.

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

coregrind/m_aspacemgr/aspacemgr-segnames.c

index 761608d912c316feeec127052284d473707de3fc..ef3d3ef564be3c584138afa5c537329fee927cfb 100644 (file)
@@ -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");