Small changes to please GCC

This commit is contained in:
Nikolaj Schlej 2016-03-29 18:10:30 +02:00
parent 5557acd7d8
commit d648ce133e

View File

@ -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;
} }