mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-16 16:14:47 -04:00
More Coverity FTW
- dead code was dead, now it lives again
This commit is contained in:
parent
7531190e7d
commit
9cd5022698
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue