X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=ast.c;h=f10dbb2f4f0688513a182a0d214e743f99cdc1e6;hb=62d062f860c4388274b0545727b8ed1eb6b2db9d;hp=2f218e37a4a776bc33dbeec92bf166a7be515110;hpb=42b98483753842714707214f115d3a3ba5cc4780;p=xonotic%2Fgmqcc.git diff --git a/ast.c b/ast.c index 2f218e3..f10dbb2 100644 --- a/ast.c +++ b/ast.c @@ -312,7 +312,9 @@ ast_value* ast_value_new(lex_ctx ctx, const char *name, int t) self->uses = 0; memset(&self->constval, 0, sizeof(self->constval)); - self->ir_v = NULL; + self->ir_v = NULL; + self->ir_values = NULL; + self->ir_value_count = 0; return self; }