mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-31 15:01:01 +00:00
opval is asserted .. need (void) to hide warning when NDEBUG
This commit is contained in:
parent
a336fb62ff
commit
77272da718
1 changed files with 1 additions and 0 deletions
1
parser.c
1
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 != '(') {
|
||||
|
|
Loading…
Reference in a new issue