From: Paul Eggert Date: Sat, 20 Aug 2005 00:58:13 +0000 (+0000) Subject: (re_acquire_state, re_acquire_state_context) [defined lint]: X-Git-Tag: cvs-readonly~3113 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=6ce32a50a76ee24dff890937b5b99e8110e7a4a1;p=gnulib.git (re_acquire_state, re_acquire_state_context) [defined lint]: Suppress bogus uninitialized-variable warnings. --- diff --git a/lib/regex_internal.c b/lib/regex_internal.c index 615c8c1b6d..6e46199a5a 100644 --- a/lib/regex_internal.c +++ b/lib/regex_internal.c @@ -1409,6 +1409,10 @@ re_acquire_state (err, dfa, nodes) re_dfastate_t *new_state; struct re_state_table_entry *spot; int i; +#ifdef lint + /* Suppress bogus uninitialized-variable warnings. */ + *err = REG_NOERROR; +#endif if (BE (nodes->nelem == 0, 0)) { *err = REG_NOERROR; @@ -1458,6 +1462,10 @@ re_acquire_state_context (err, dfa, nodes, context) re_dfastate_t *new_state; struct re_state_table_entry *spot; int i; +#ifdef lint + /* Suppress bogus uninitialized-variable warnings. */ + *err = REG_NOERROR; +#endif if (nodes->nelem == 0) { *err = REG_NOERROR;