diff options
Diffstat (limited to '7zip/Compress/BZip2/BZip2Decoder.cpp')
-rwxr-xr-x | 7zip/Compress/BZip2/BZip2Decoder.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/7zip/Compress/BZip2/BZip2Decoder.cpp b/7zip/Compress/BZip2/BZip2Decoder.cpp index 5ff5f530..3f45e665 100755 --- a/7zip/Compress/BZip2/BZip2Decoder.cpp +++ b/7zip/Compress/BZip2/BZip2Decoder.cpp @@ -97,7 +97,7 @@ void CState::FinishStream(bool needLeave) DWORD CState::ThreadFunc() { - while (true) + for (;;) { Decoder->CS.Enter(); if (Decoder->CloseThreads) @@ -262,7 +262,7 @@ HRESULT CDecoder::ReadBlock(UInt32 blockSizeMax, CState &state) int i; for (i = 0; i < alphaSize; i++) { - while (true) + for (;;) { if (len < 1 || len > kMaxHuffmanLen) return S_FALSE; @@ -295,7 +295,7 @@ HRESULT CDecoder::ReadBlock(UInt32 blockSizeMax, CState &state) int runPower = 0; UInt32 runCounter = 0; - while (true) + for (;;) { if (groupSize == 0) { @@ -572,7 +572,7 @@ HRESULT CDecoder::DecodeFile(bool &isBZ, ICompressProgressInfo *progress) #endif { CState &state = m_States[0]; - while (true) + for (;;) { if (progress) { @@ -596,7 +596,7 @@ HRESULT CDecoder::DecodeFile(bool &isBZ, ICompressProgressInfo *progress) } HRESULT CDecoder::CodeReal(ISequentialInStream *inStream, - ISequentialOutStream *outStream, const UInt64 *inSize, const UInt64 *outSize, + ISequentialOutStream *outStream, const UInt64 * /* inSize */, const UInt64 * /* outSize */, ICompressProgressInfo *progress) { if (!m_InStream.Create(kBufferSize)) |