avoid warning with -P switch
authorGurusamy Sarathy <gsar@cpan.org>
Thu, 25 Jun 1998 23:24:53 +0000 (23:24 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Thu, 25 Jun 1998 23:24:53 +0000 (23:24 +0000)
p4raw-id: //depot/perl@1218

perl.c

diff --git a/perl.c b/perl.c
index 0cacfc9..6930a4f 100644 (file)
--- 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"))