mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix uninitialized value warnings in bootimage.cpp
This commit is contained in:
parent
248ff26581
commit
5c39819cf0
@ -1316,9 +1316,9 @@ writeBootImage2(Thread* t, FILE* bootimageOutput, FILE* codeOutput,
|
|||||||
unsigned buildOffset = BytesPerWord;
|
unsigned buildOffset = BytesPerWord;
|
||||||
unsigned targetOffset = TargetBytesPerWord;
|
unsigned targetOffset = TargetBytesPerWord;
|
||||||
bool sawArray = false;
|
bool sawArray = false;
|
||||||
Type type;
|
Type type = Type_none;
|
||||||
unsigned buildSize;
|
unsigned buildSize = 0;
|
||||||
unsigned targetSize;
|
unsigned targetSize = 0;
|
||||||
for (unsigned j = 1; j < count; ++j) {
|
for (unsigned j = 1; j < count; ++j) {
|
||||||
switch (source[j - 1]) {
|
switch (source[j - 1]) {
|
||||||
case Type_object:
|
case Type_object:
|
||||||
|
Loading…
Reference in New Issue
Block a user