summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-06-25 23:24:53 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-06-25 23:24:53 +0000
commit63bfd3dbc295505ea40d413cbda7eb621b2d79e1 (patch)
treef44d5986e8d996665b6d739d51f3b590e6e7785b /perl.c
parentbfc6b1eb6e05879a2dfc2a5e96c4256daf7ddfbf (diff)
downloadperl-63bfd3dbc295505ea40d413cbda7eb621b2d79e1.tar.gz
avoid warning with -P switch
p4raw-id: //depot/perl@1218
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 0cacfc9262..6930a4f726 100644
--- a/perl.c
+++ b/perl.c
@@ -1911,7 +1911,7 @@ open_script(char *scriptname, bool dosearch, SV *sv, int *fdscript)
}
else if (preprocess) {
char *cpp_cfg = CPPSTDIN;
- SV *cpp = NEWSV(0,0);
+ SV *cpp = newSVpv("",0);
SV *cmd = NEWSV(0,0);
if (strEQ(cpp_cfg, "cppstdin"))