mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Removed a wrong assertion.
committer: mfx <mfx> 974918108 +0000
This commit is contained in:
parent
2e6c03690f
commit
690499b2c0
|
@ -253,7 +253,9 @@ bool Packer::checkCompressionRatio(unsigned u_len, unsigned c_len) const
|
|||
{
|
||||
assert((int)u_len > 0);
|
||||
assert((int)c_len > 0);
|
||||
assert((off_t)u_len < file_size);
|
||||
|
||||
// this assertion may fail if we compress the BSS segment -- disabled
|
||||
//assert((off_t)u_len < file_size);
|
||||
|
||||
#if 1
|
||||
if (c_len >= u_len - u_len / 8) // min. 12.5% gain
|
||||
|
|
Loading…
Reference in New Issue
Block a user