From: Dale Weiler Date: Mon, 26 Nov 2012 02:12:50 +0000 (+0000) Subject: opval is asserted .. need (void) to hide warning when NDEBUG X-Git-Tag: 0.1.9~207 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=77272da718b189bed3e7a35e7d083431caf9f93a;p=xonotic%2Fgmqcc.git opval is asserted .. need (void) to hide warning when NDEBUG --- diff --git a/parser.c b/parser.c index ea84205..bb41c70 100644 --- a/parser.c +++ b/parser.c @@ -2103,6 +2103,7 @@ static bool parse_switch(parser_t *parser, ast_block *block, ast_expression **ou lex_ctx ctx = parser_ctx(parser); (void)block; /* not touching */ + (void)opval; /* parse over the opening paren */ if (!parser_next(parser) || parser->tok != '(') {