summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-08-01 16:17:47 +0000
committerSteve Hay <SteveHay@planit.com>2006-08-01 16:17:47 +0000
commitb69b0499811c52eed331c158803ef26f768e2668 (patch)
tree55f82297022f18e072cdf2fbd5070bf76abb40a5 /regexec.c
parentd4315dd6a064c0701c6a2be9857472687268433f (diff)
downloadperl-b69b0499811c52eed331c158803ef26f768e2668.tar.gz
Silence a couple of Borland compiler warnings
p4raw-id: //depot/perl@28643
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index a0ea7f2c0d..ac55c82470 100644
--- a/regexec.c
+++ b/regexec.c
@@ -2383,7 +2383,7 @@ S_regmatch(pTHX_ const regmatch_info *reginfo, regnode *prog)
/* these variables are NOT saved during a recusive RFEGMATCH: */
register I32 nextchr; /* is always set to UCHARAT(locinput) */
- bool result; /* return value of S_regmatch */
+ bool result = 0; /* return value of S_regmatch */
int depth = 0; /* depth of recursion */
regmatch_state *yes_state = NULL; /* state to pop to on success of
subpattern */