More Coverity FTW

- dead code was dead, now it lives again
This commit is contained in:
Nikolaj Schlej 2016-04-18 16:44:49 +02:00
parent 7531190e7d
commit 9cd5022698

View File

@ -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