summaryrefslogtreecommitdiff
path: root/av.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-05-18 07:51:19 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-05-18 07:51:19 +0000
commitd2719217c9b7910115cef7ea0c16d68e6b286cf7 (patch)
tree8b388dce5c146bf58433ed543f610f8361103d80 /av.c
parent3c78fafa1650432985234f9821e053d8f64c6224 (diff)
downloadperl-d2719217c9b7910115cef7ea0c16d68e6b286cf7.tar.gz
[win32] more whitespace tweaks from maintbranch
p4raw-id: //depot/win32/perl@1009
Diffstat (limited to 'av.c')
-rw-r--r--av.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/av.c b/av.c
index b4621f339e..02be7cc8cc 100644
--- a/av.c
+++ b/av.c
@@ -369,7 +369,6 @@ av_undef(register AV *av)
SvREFCNT_dec(AvARRAY(av)[--key]);
}
Safefree(AvALLOC(av));
- SvPVX(av) = 0;
AvALLOC(av) = 0;
SvPVX(av) = 0;
AvMAX(av) = AvFILLp(av) = -1;
@@ -479,7 +478,7 @@ av_unshift(register AV *av, register I32 num)
AvFILLp(av) += i;
SvPVX(av) = (char*)(AvARRAY(av) - i);
}
- if (num) {
+ if (num) {
i = AvFILLp(av);
av_extend(av, i + num);
AvFILLp(av) += num;