X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/451458f4c989298d91b85a2bbe5337a250ec7e60..ff534ba469473a9ace193e736ca131144df307f9:/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);