summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index c795a5b3d5..da4513bc95 100644
--- a/regexec.c
+++ b/regexec.c
@@ -3295,7 +3295,7 @@ S_regmatch(pTHX_ regnode *prog)
}
REGCP_SET(lastcp);
if (paren) {
- UV c;
+ UV c = 0;
while (n >= ln) {
if (c1 != -1000) {
if (do_utf8)
@@ -3315,7 +3315,7 @@ S_regmatch(pTHX_ regnode *prog)
}
}
else {
- UV c;
+ UV c = 0;
while (n >= ln) {
if (c1 != -1000) {
if (do_utf8)