mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
adding missing initializer for ir_value's member array
This commit is contained in:
parent
c7cca404dc
commit
5680c661a6
1 changed files with 4 additions and 0 deletions
4
ir.c
4
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue