mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-25 17:38:22 +08:00
Coverity FTW
- UINT x = x = a, what have I thinking there?..
This commit is contained in:
parent
892122b45e
commit
d87c905246
@ -3779,7 +3779,7 @@ STATUS FfsParser::parseFsysStoreHeader(const QByteArray & store, const UINT32 pa
|
|||||||
|
|
||||||
// Check store checksum
|
// Check store checksum
|
||||||
UINT32 storedCrc = *(UINT32*)store.right(sizeof(UINT32)).constBegin();
|
UINT32 storedCrc = *(UINT32*)store.right(sizeof(UINT32)).constBegin();
|
||||||
UINT32 calculatedCrc = calculatedCrc = crc32(0, (const UINT8*)store.constData(), (const UINT32)store.size() - sizeof(UINT32));
|
UINT32 calculatedCrc = crc32(0, (const UINT8*)store.constData(), (const UINT32)store.size() - sizeof(UINT32));
|
||||||
|
|
||||||
// Add info
|
// Add info
|
||||||
bool isGaidStore = (fsysStoreHeader->Signature == NVRAM_APPLE_GAID_STORE_SIGNATURE);
|
bool isGaidStore = (fsysStoreHeader->Signature == NVRAM_APPLE_GAID_STORE_SIGNATURE);
|
||||||
|
Loading…
Reference in New Issue
Block a user