X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ca4086b22723db16d7e0fc23aa9021b4785096a..cc4d5638c66a409e421420ed7110917755a66788:/src/regex/regexec.c diff --git a/src/regex/regexec.c b/src/regex/regexec.c index 41d49bdab5..756cba131e 100644 --- a/src/regex/regexec.c +++ b/src/regex/regexec.c @@ -110,7 +110,7 @@ struct vars { #define VISERR(vv) ((vv)->err != 0) /* have we seen an error yet? */ #define ISERR() VISERR(v) #define VERR(vv,e) (((vv)->err) ? (vv)->err : ((vv)->err = (e))) -#define ERR(e) VERR(v, e) /* record an error */ +#define ERR(e) (void)VERR(v, e) /* record an error */ #define NOERR() {if (ISERR()) return v->err;} /* if error seen, return it */ #define OFF(p) ((p) - v->start) #define LOFF(p) ((long)OFF(p)) @@ -360,7 +360,7 @@ struct colormap *cm; freedfa(s); return v->err; } - + cold = NULL;// WX: fix gcc warnings about cold being possibly uninitialized ret = cfindloop(v, cnfa, cm, d, s, &cold); freedfa(d);