projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6993001
)
Avoid an unused temp scalar in sv.c:S_sv_unglob
author
Father Chrysostomos
<sprout@cpan.org>
Sun, 18 Dec 2011 03:23:20 +0000
(19:23 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Sun, 18 Dec 2011 07:19:04 +0000
(23:19 -0800)
This is something I missed in
804b5ed7
.
sv.c
patch
|
blob
|
history
diff --git
a/sv.c
b/sv.c
index
fc8ee86
..
019e8dd
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-9479,7
+9479,7
@@
S_sv_unglob(pTHX_ SV *const sv, U32 flags)
dVAR;
void *xpvmg;
HV *stash;
- SV * const temp = sv_newmortal();
+ SV * const temp =
flags & SV_COW_DROP_PV ? NULL :
sv_newmortal();
PERL_ARGS_ASSERT_SV_UNGLOB;