mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Simplify statements
-Simplify return statements across the code
This commit is contained in:
committed by
Alexander Shishkin
parent
ec536e613c
commit
ac6b477aa2
@@ -165,7 +165,7 @@ si64 CCompressedStream::readMore(ui8 *data, si64 size)
|
||||
throw std::runtime_error(std::string("Decompression error: ") + inflateState->msg);
|
||||
}
|
||||
}
|
||||
while (endLoop == false && inflateState->avail_out != 0 );
|
||||
while (!endLoop && inflateState->avail_out != 0 );
|
||||
|
||||
decompressed = inflateState->total_out - decompressed;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user