From d648ce133e8bb222093f08f82bda3002809f1499 Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Tue, 29 Mar 2016 18:10:30 +0200 Subject: [PATCH] Small changes to please GCC --- common/ffsparser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/ffsparser.cpp b/common/ffsparser.cpp index bfabacb..d0e89f9 100644 --- a/common/ffsparser.cpp +++ b/common/ffsparser.cpp @@ -3514,7 +3514,7 @@ STATUS FfsParser::parseVssStorageBody(const QModelIndex & index) UINT32 storedCrc32 = 0; UINT32 calculatedCrc32 = 0; UINT64 monotonicCounter = 0; - EFI_TIME timestamp = { 0 }; + EFI_TIME timestamp = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; UINT32 pubKeyIndex = 0; UINT8 subtype = 0; @@ -3681,11 +3681,11 @@ STATUS FfsParser::parseVssStorageBody(const QModelIndex & index) pdata.offset = parentOffset + offset; // 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 offset += variableSize; } return ERR_SUCCESS; -} \ No newline at end of file +}