From: Wolfgang (Blub) Bumiller Date: Sun, 12 Aug 2012 19:56:53 +0000 (+0200) Subject: adding missing initializer for ir_value's member array X-Git-Tag: 0.1-rc1~335 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5680c661a6d100ba78ed9d2456b724ce7cb6559a;p=xonotic%2Fgmqcc.git adding missing initializer for ir_value's member array --- diff --git a/ir.c b/ir.c index f273f1c..cfc185b 100644 --- a/ir.c +++ b/ir.c @@ -575,6 +575,10 @@ ir_value* ir_value_var(const char *name, int storetype, int vtype) memset(&self->constval, 0, sizeof(self->constval)); memset(&self->code, 0, sizeof(self->code)); + self->members[0] = NULL; + self->members[1] = NULL; + self->members[2] = NULL; + MEM_VECTOR_INIT(self, life); return self; }