Skip to content

Commit 9c48ab6

Browse files
author
John Peacock
committed
Remove unused variables
1 parent 73f1b79 commit 9c48ab6

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

vutil/vutil.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,6 @@ Perl_vnormal(pTHX_ SV *vs)
901901
#endif
902902
{
903903
I32 i, len, digit;
904-
bool alpha = FALSE;
905904
SV *sv;
906905
AV *av;
907906

@@ -912,9 +911,6 @@ Perl_vnormal(pTHX_ SV *vs)
912911
if ( ! vs )
913912
Perl_croak(aTHX_ "Invalid version object");
914913

915-
if ( hv_exists(MUTABLE_HV(vs), "alpha", 5 ) )
916-
alpha = TRUE;
917-
918914
av = MUTABLE_AV(SvRV(*hv_fetchs(MUTABLE_HV(vs), "version", FALSE)));
919915

920916
len = av_len(av);
@@ -1003,8 +999,6 @@ Perl_vcmp(pTHX_ SV *lhv, SV *rhv)
1003999
{
10041000
SSize_t i,l,m,r;
10051001
I32 retval;
1006-
bool lalpha = FALSE;
1007-
bool ralpha = FALSE;
10081002
I32 left = 0;
10091003
I32 right = 0;
10101004
AV *lav, *rav;
@@ -1019,13 +1013,9 @@ Perl_vcmp(pTHX_ SV *lhv, SV *rhv)
10191013

10201014
/* get the left hand term */
10211015
lav = MUTABLE_AV(SvRV(*hv_fetchs(MUTABLE_HV(lhv), "version", FALSE)));
1022-
if ( hv_exists(MUTABLE_HV(lhv), "alpha", 5 ) )
1023-
lalpha = TRUE;
10241016

10251017
/* and the right hand term */
10261018
rav = MUTABLE_AV(SvRV(*hv_fetchs(MUTABLE_HV(rhv), "version", FALSE)));
1027-
if ( hv_exists(MUTABLE_HV(rhv), "alpha", 5 ) )
1028-
ralpha = TRUE;
10291019

10301020
l = av_len(lav);
10311021
r = av_len(rav);

0 commit comments

Comments
 (0)