mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Avoid gcc warnings on cygwin
* posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]: * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]: Avoid unused variable.
This commit is contained in:
@@ -2988,7 +2988,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)
|
||||
|
Reference in New Issue
Block a user