summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-05-28 11:49:05 -0600
committerKarl Williamson <public@khwilliamson.com>2011-07-03 14:05:45 -0600
commit198a51c423625d3171d450af5573095cd2c99964 (patch)
treec625a16a57767399986d8dcfa0b69838af351db6 /regcomp.c
parent318c430e61fb87b0d32ecee8825b85847c3980ab (diff)
downloadperl-198a51c423625d3171d450af5573095cd2c99964.tar.gz
regcomp.c: Remove no longer called function
The invlist_destroy function was misleading, as it has changed to just decrement the reference count, which may or may not lead to immediate destruction
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/regcomp.c b/regcomp.c
index a93cc67d1c..d2d6e55f60 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -5913,16 +5913,6 @@ Perl__new_invlist(pTHX_ IV initial_size)
}
#endif
-PERL_STATIC_INLINE void
-S_invlist_destroy(pTHX_ SV* const invlist)
-{
- /* Inversion list destructor */
-
- PERL_ARGS_ASSERT_INVLIST_DESTROY;
-
- SvREFCNT_dec(invlist);
-}
-
STATIC void
S_invlist_extend(pTHX_ SV* const invlist, const UV new_max)
{