]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
Fix uninitialized data
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index ebb29a779885ff4f5f0804db2cab26d881ff2470..3df25e859b5ace2093365818ee616cd2de2f257b 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -231,6 +231,7 @@ void ast_type_adopt_impl(ast_expression *self, const ast_expression *other);
 void ast_type_to_string(ast_expression *e, char *buf, size_t bufsize);
 
 typedef enum ast_binary_ref_s {
+    AST_REF_NONE  = 0,
     AST_REF_LEFT  = 1 << 1,
     AST_REF_RIGHT = 1 << 2,
     AST_REF_ALL   = (AST_REF_LEFT | AST_REF_RIGHT)