[patch] ptr_table_store
Doug MacEachern [Sun, 9 Jun 2002 17:07:11 +0000 (10:07 -0700)]
Message-ID: <Pine.LNX.4.33.0206091700110.26891-100000@mako.covalent.net>

p4raw-id: //depot/perl@17154

sv.c

diff --git a/sv.c b/sv.c
index da051f7..4f38159 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -8757,7 +8757,6 @@ Perl_ptr_table_store(pTHX_ PTR_TBL_t *tbl, void *oldv, void *newv)
     for (tblent = *otblent; tblent; i=0, tblent = tblent->next) {
        if (tblent->oldval == oldv) {
            tblent->newval = newv;
-           tbl->tbl_items++;
            return;
        }
     }