mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-25 17:38:22 +08:00
Fix analyser issues
This commit is contained in:
parent
7ab6dd4285
commit
e1c0b08fc0
@ -215,7 +215,7 @@ USTATUS NvramParser::parseNvarStore(const UModelIndex & index)
|
|||||||
goto parsing_done;
|
goto parsing_done;
|
||||||
}
|
}
|
||||||
|
|
||||||
timestamp = readUnaligned((UINT64*)(tail.constData()) + sizeof(UINT8));
|
timestamp = readUnaligned((UINT64*)(tail.constData() + sizeof(UINT8)));
|
||||||
hash = tail.mid(sizeof(UINT64) + sizeof(UINT8), SHA256_HASH_SIZE);
|
hash = tail.mid(sizeof(UINT64) + sizeof(UINT8), SHA256_HASH_SIZE);
|
||||||
hasTimestamp = true;
|
hasTimestamp = true;
|
||||||
hasHash = true;
|
hasHash = true;
|
||||||
|
@ -117,7 +117,7 @@ public:
|
|||||||
UString data(const UModelIndex &index, int role) const;
|
UString data(const UModelIndex &index, int role) const;
|
||||||
UString headerData(int section, int orientation, int role = 0) const;
|
UString headerData(int section, int orientation, int role = 0) const;
|
||||||
|
|
||||||
TreeModel() {
|
TreeModel() : markingEnabledFlag(false) {
|
||||||
rootItem = new TreeItem(0, Types::Root, 0, UString(), UString(), UString(), UByteArray(), UByteArray(), UByteArray(), TRUE, FALSE);
|
rootItem = new TreeItem(0, Types::Root, 0, UString(), UString(), UString(), UByteArray(), UByteArray(), UByteArray(), TRUE, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user