]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parser.cpp
Revert "search for funciton param first before function locals, this fixes #163"
[xonotic/gmqcc.git] / parser.cpp
index 4f7ea699c5039537dcb9390c7180ca1127554986..1404273735d83f2e1f2c583e5d4905b3231008d3 100644 (file)
@@ -342,7 +342,7 @@ static bool parser_sy_apply_operator(parser_t *parser, shunt *sy)
     const oper_info *op;
     lex_ctx_t ctx;
     ast_expression *out = nullptr;
-    ast_expression *exprs[3];
+    ast_expression *exprs[3] = { 0, 0, 0 };
     ast_block      *blocks[3];
     ast_binstore   *asbinstore;
     size_t i, assignop, addop, subop;