* regcomp.c (p_ere): Workaround incorrect compiler warning.

* regerror.c (regatoi): Return non-const string or compiler complains in
certain inexplicable situations.
This commit is contained in:
Christopher Faylor
2010-02-04 21:05:07 +00:00
parent fa40bd922e
commit 6e3f2c626d
3 changed files with 9 additions and 3 deletions

View File

@ -315,8 +315,8 @@ p_ere(struct parse *p,
int stop) /* character this ERE should end at */
{
char c;
sopno prevback;
sopno prevfwd;
sopno prevback = 0;
sopno prevfwd = 0;
sopno conc;
int first = 1; /* is this the first alternative? */