Various cosmetic updates and refactors. NFCI.

This commit is contained in:
Markus F.X.J. Oberhumer
2021-01-04 17:20:57 +01:00
parent adcd569852
commit f962afe146
20 changed files with 92 additions and 284 deletions
+1 -6
View File
@@ -38,13 +38,8 @@
bool Packer::isValidCompressionMethod(int method)
{
if (M_IS_LZMA(method)) {
#if !(WITH_LZMA)
assert(0 && "Internal error - LZMA not compiled in");
#else
if (M_IS_LZMA(method))
return true;
#endif
}
return (method >= M_NRV2B_LE32 && method <= M_LZMA);
}