Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
compat/regex: define out variables only used under RE_ENABLE_I18N
[gitweb.git]
/
compat
/
regex
/
regexec.c
diff --git
a/compat/regex/regexec.c
b/compat/regex/regexec.c
index aee502d2998e0a2ee5b51b417898ce0e09b58670..0c2b054bce02cd433fa2a015feca3d1d52067964 100644
(file)
--- a/
compat/regex/regexec.c
+++ b/
compat/regex/regexec.c
@@
-3059,7
+3059,9
@@
check_arrival_add_next_nodes (re_match_context_t *mctx, int str_idx,
const re_dfa_t *const dfa = mctx->dfa;
int result;
int cur_idx;
+#ifdef RE_ENABLE_I18N
reg_errcode_t err = REG_NOERROR;
+#endif
re_node_set union_set;
re_node_set_init_empty (&union_set);
for (cur_idx = 0; cur_idx < cur_nodes->nelem; ++cur_idx)