summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-02-15 10:04:24 -0700
committerKarl Williamson <public@khwilliamson.com>2011-02-15 10:39:17 -0700
commit453bfd442f7dd1d2a5e0d56afa5e6beef97333c1 (patch)
treec1610c8ecb9f2f3c7c3c7449131d1e49b264ea31 /regexec.c
parentcd64649c2953941380258cc0142dc6202adfd4aa (diff)
downloadperl-453bfd442f7dd1d2a5e0d56afa5e6beef97333c1.tar.gz
regexec.c: Silence netbsd compiler warning
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 312910d86b..8d3ec68257 100644
--- a/regexec.c
+++ b/regexec.c
@@ -1427,7 +1427,7 @@ S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s,
char *e;
register I32 tmp = 1; /* Scratch variable? */
register const bool utf8_target = PL_reg_match_utf8;
- UV utf8_fold_flags;
+ UV utf8_fold_flags = 0;
RXi_GET_DECL(prog,progi);
PERL_ARGS_ASSERT_FIND_BYCLASS;
@@ -4044,7 +4044,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog)
char type;
re_fold_t folder;
const U8 *fold_array;
- UV utf8_fold_flags;
+ UV utf8_fold_flags = 0;
PL_reg_flags |= RF_tainted;
folder = foldEQ_locale;