clang warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-01-27 11:37:37 +00:00
parent 8a3ddc6bd5
commit d5923e449d
4 changed files with 5 additions and 5 deletions

View File

@@ -235,11 +235,11 @@ struct vars {
#define ISERR() VISERR(v)
#define VERR(vv,e) ((vv)->nexttype = EOS, ((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;} /* if error seen, return */
#define NOERRN() {if (ISERR()) return NULL;} /* NOERR with retval */
#define NOERRZ() {if (ISERR()) return 0;} /* NOERR with retval */
#define INSIST(c, e) ((c) ? 0 : ERR(e)) /* if condition false, error */
#define INSIST(c, e) (void)((c) ? 0 : ERR(e)) /* if condition false, error */
#define NOTE(b) (v->re->re_info |= (b)) /* note visible condition */
#define EMPTYARC(x, y) newarc(v->nfa, EMPTY, 0, x, y)