]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
opval is asserted .. need (void) to hide warning when NDEBUG
authorDale Weiler <killfieldengine@gmail.com>
Mon, 26 Nov 2012 02:12:50 +0000 (02:12 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Mon, 26 Nov 2012 02:12:50 +0000 (02:12 +0000)
parser.c

index ea84205f6e7a59ab54dab15590b0d7d49539862a..bb41c7083412bcbac7839c80c538be25f9a13ffd 100644 (file)
--- 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 != '(') {