mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
fix uninitialized variable in bootimage.cpp
This commit is contained in:
parent
ed6945dec7
commit
ad22de6d73
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user