mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Small changes to please GCC
This commit is contained in:
parent
5557acd7d8
commit
d648ce133e
@ -3514,7 +3514,7 @@ STATUS FfsParser::parseVssStorageBody(const QModelIndex & index)
|
|||||||
UINT32 storedCrc32 = 0;
|
UINT32 storedCrc32 = 0;
|
||||||
UINT32 calculatedCrc32 = 0;
|
UINT32 calculatedCrc32 = 0;
|
||||||
UINT64 monotonicCounter = 0;
|
UINT64 monotonicCounter = 0;
|
||||||
EFI_TIME timestamp = { 0 };
|
EFI_TIME timestamp = { 0, 0, 0, 0, 0, 0, 0, 0, 0 };
|
||||||
UINT32 pubKeyIndex = 0;
|
UINT32 pubKeyIndex = 0;
|
||||||
|
|
||||||
UINT8 subtype = 0;
|
UINT8 subtype = 0;
|
||||||
@ -3681,11 +3681,11 @@ STATUS FfsParser::parseVssStorageBody(const QModelIndex & index)
|
|||||||
pdata.offset = parentOffset + offset;
|
pdata.offset = parentOffset + offset;
|
||||||
|
|
||||||
// Add tree item
|
// Add tree item
|
||||||
QModelIndex varIndex = model->addItem(Types::NvramVariableVss, subtype, name, text, info, header, body, FALSE, parsingDataToQByteArray(pdata), index);
|
model->addItem(Types::NvramVariableVss, subtype, name, text, info, header, body, FALSE, parsingDataToQByteArray(pdata), index);
|
||||||
|
|
||||||
// Move to next variable
|
// Move to next variable
|
||||||
offset += variableSize;
|
offset += variableSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ERR_SUCCESS;
|
return ERR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user