fix uninitialized variable in bootimage.cpp

This commit is contained in:
Joel Dice 2011-09-30 18:40:03 -06:00
parent ed6945dec7
commit ad22de6d73

View File

@ -211,10 +211,12 @@ allFields(Thread* t, object typeMaps, object c, unsigned* count, object* array)
includeMembers = false;
*count += reinterpret_cast<TypeMap*>(&byteArrayBody(t, *array, 0))
->fixedFieldCount;
} else if (classSuper(t, c)) {
} else {
includeMembers = true;
fields = getNonStaticFields
(t, typeMaps, classSuper(t, c), fields, count, array);
if (classSuper(t, c)) {
fields = getNonStaticFields
(t, typeMaps, classSuper(t, c), fields, count, array);
}
}
if (classFieldTable(t, c)) {