opval is asserted .. need (void) to hide warning when NDEBUG

This commit is contained in:
Dale Weiler 2012-11-26 02:12:50 +00:00
parent a336fb62ff
commit 77272da718

View file

@ -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 != '(') {