]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parser.c
Make functions copy their extparams
[xonotic/gmqcc.git] / parser.c
index 600b088008d33e9472db1c57988cebb31d7b9f57..25c9c74c9fd18c7bc45bd3e6da80d00f7874b79f 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -2638,7 +2638,7 @@ static ast_value *parse_parameter_list(parser_t *parser, ast_value *var)
 
     /* sanity check */
     if (vec_size(params) > 8 && opts_standard == COMPILER_QCC)
-        parsewarning(parser, WARN_EXTENSIONS, "more than 8 parameters are not supported by this standard");
+        (void)!parsewarning(parser, WARN_EXTENSIONS, "more than 8 parameters are not supported by this standard");
 
     /* parse-out */
     if (!parser_next(parser)) {