summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2013-01-31 10:58:36 +0100
committerSteffen Mueller <smueller@cpan.org>2013-01-31 13:43:55 +0100
commit7bd37d005f4dcdddc571c68302583c4a8591edc2 (patch)
tree46155aaa18bdf8c1c06575f6bea306e06634994b /sv.c
parentf3f40957880ac97205d3dec85be9b1a10abed0d6 (diff)
downloadperl-7bd37d005f4dcdddc571c68302583c4a8591edc2.tar.gz
Remove dead code in Perl_sv_cmp_flags
Most certainly compiled away anyway, but still dead.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sv.c b/sv.c
index dde045c125..727e283112 100644
--- a/sv.c
+++ b/sv.c
@@ -7437,7 +7437,6 @@ Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2,
dVAR;
STRLEN cur1, cur2;
const char *pv1, *pv2;
- char *tpv = NULL;
I32 cmp;
SV *svrecode = NULL;
@@ -7501,8 +7500,6 @@ Perl_sv_cmp_flags(pTHX_ SV *const sv1, SV *const sv2,
}
SvREFCNT_dec(svrecode);
- if (tpv)
- Safefree(tpv);
return cmp;
}