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:
7a9b248
)
Initialize buffer to an empty string to avoid spurious uninitialized warnings
author
Rafael Garcia-Suarez
<rgs@consttype.org>
Wed, 25 Jan 2012 11:34:17 +0000
(12:34 +0100)
committer
Rafael Garcia-Suarez
<rgs@consttype.org>
Wed, 25 Jan 2012 11:34:27 +0000
(12:34 +0100)
op.c
patch
|
blob
|
history
diff --git
a/op.c
b/op.c
index
e31f742
..
30cc7f8
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-1189,7
+1189,7
@@
Perl_scalarvoid(pTHX_ OP *o)
strnEQ(maybe_macro, "ig", 2))
useless = NULL;
else {
- SV * const dsv = newSV
(0
);
+ SV * const dsv = newSV
pvs(""
);
SV* msv = sv_2mortal(Perl_newSVpvf(aTHX_
"a constant (%s)",
pv_pretty(dsv, maybe_macro, SvCUR(sv), 32, NULL, NULL,