Fix uninitialized (or unused) fields.

This commit is contained in:
Jon Siwek 2013-09-27 10:13:52 -05:00
parent 64f3bef96d
commit 775ec6795e
62 changed files with 135 additions and 98 deletions

View file

@ -2572,6 +2572,7 @@ unsigned int TableVal::MemoryAllocation() const
RecordVal::RecordVal(RecordType* t) : MutableVal(t)
{
origin = 0;
record_type = t;
int n = record_type->NumFields();
val_list* vl = val.val_list_val = new val_list(n);