* regerror.c (regatoi): Return non-const string or compiler complains in
certain inexplicable situations.
+2010-02-04 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * regcomp.c (p_ere): Workaround incorrect compiler warning.
+ * regerror.c (regatoi): Return non-const string or compiler complains
+ in certain inexplicable situations.
+
2010-02-04 Corinna Vinschen <corinna@vinschen.de>
* regex/engine.c (step): Declare and define with `int ch' rather than
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? */
if (r->code == 0)
#ifdef __CYGWIN__ /* Avoid whining compiler */
{
- static const char null[] = "0";
+ static char null[] = "0";
return null;
}
#else