mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-25 17:38:22 +08:00
More Coverity FTW
- dead code was dead, now it lives again
This commit is contained in:
parent
7531190e7d
commit
9cd5022698
@ -2370,6 +2370,7 @@ STATUS FfsParser::parseGuidedSectionBody(const QModelIndex & index)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
msg(QObject::tr("parseGuidedSectionBody: can't guess the correct decompression algorithm, both preparse steps are failed"), index);
|
msg(QObject::tr("parseGuidedSectionBody: can't guess the correct decompression algorithm, both preparse steps are failed"), index);
|
||||||
|
parseCurrentSection = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2390,8 +2391,10 @@ STATUS FfsParser::parseGuidedSectionBody(const QModelIndex & index)
|
|||||||
info += QObject::tr("\nCompression algorithm: LZMA");
|
info += QObject::tr("\nCompression algorithm: LZMA");
|
||||||
info += QObject::tr("\nDecompressed size: %1h (%2)").hexarg(processed.length()).arg(processed.length());
|
info += QObject::tr("\nDecompressed size: %1h (%2)").hexarg(processed.length()).arg(processed.length());
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
info += QObject::tr("\nCompression algorithm: unknown");
|
info += QObject::tr("\nCompression algorithm: unknown");
|
||||||
|
parseCurrentSection = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add info
|
// Add info
|
||||||
|
Loading…
Reference in New Issue
Block a user