]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.c
Warna bout unused variables - -Wunused-variable, on by default
[xonotic/gmqcc.git] / ast.c
diff --git a/ast.c b/ast.c
index 365803bcfa08378244e4b94722d42838e33b65fd..0faaca1996ec6faf85688d4b52ed382e2c9df032 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -228,6 +228,7 @@ ast_value* ast_value_new(lex_ctx ctx, const char *name, int t)
     self->expression.vtype = t;
     self->expression.next  = NULL;
     self->isconst = false;
+    self->uses    = 0;
     memset(&self->constval, 0, sizeof(self->constval));
 
     self->ir_v    = NULL;