X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ceed155e8a53c121519e7725be7d1abf642dd56e..977c53206a4be411999140b514507e161e1f0a04:/src/regex/regexec.c?ds=sidebyside diff --git a/src/regex/regexec.c b/src/regex/regexec.c index 42e7e18923..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))