summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorJim Cromie <jcromie@cpan.org>2008-02-16 11:02:19 -0700
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-02-18 10:54:15 +0000
commit4f61fd4b74b06db0447fa2ade9a7c3c85c08bbb3 (patch)
tree23cf60709c8f1ec16c52f68e74b2779cfd0f9712 /toke.c
parent3dd5fe6bfa7c903b16ebbcdf4e19ea367d394227 (diff)
downloadperl-4f61fd4b74b06db0447fa2ade9a7c3c85c08bbb3.tar.gz
[ patch ] silence 2 possibly uninitialized vars
Message-ID: <47B7879B.5040302@gmail.com> p4raw-id: //depot/perl@33327
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/toke.c b/toke.c
index cb731045a4..72a37c4316 100644
--- a/toke.c
+++ b/toke.c
@@ -6670,7 +6670,7 @@ Perl_yylex(pTHX)
(*s == ':' && s[1] == ':'))
{
#ifdef PERL_MAD
- SV *nametoke;
+ SV *nametoke = NULL;
#endif
PL_expect = XBLOCK;
@@ -12372,8 +12372,8 @@ S_scan_formline(pTHX_ register char *s)
bool eofmt = FALSE;
#ifdef PERL_MAD
char *tokenstart = s;
- SV* savewhite;
-
+ SV* savewhite = NULL;
+
if (PL_madskills) {
savewhite = PL_thiswhite;
PL_thiswhite = 0;