From d13270a686a9ce21614f103bc134615be75c263a Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Sun, 11 Feb 2024 09:46:30 +0100 Subject: The flag MPQ_OPEN_NO_LISTFILE is now propagated by SFileOpenPatchArchive --- src/SBaseFileTable.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/SBaseFileTable.cpp') diff --git a/src/SBaseFileTable.cpp b/src/SBaseFileTable.cpp index ca14693..fa388fc 100644 --- a/src/SBaseFileTable.cpp +++ b/src/SBaseFileTable.cpp @@ -107,8 +107,8 @@ void TMPQBits::GetBits( unsigned int nBitOffset = (nBitPosition & 0x07); unsigned char BitBuffer; - // Keep compiler happy for platforms where nResultByteSize is not used - nResultByteSize = nResultByteSize; + // Keep compilers happy for platforms where nResultByteSize is not used + STORMLIB_UNUSED(nResultByteSize); #ifdef _DEBUG // Check if the target is properly zeroed @@ -172,8 +172,8 @@ void TMPQBits::SetBits( unsigned short AndMask = 0; unsigned short OneByte = 0; - // Keep compiler happy for platforms where nResultByteSize is not used - nResultByteSize = nResultByteSize; + // Keep compilers happy for platforms where nResultByteSize is not used + STORMLIB_UNUSED(nResultByteSize); #ifndef STORMLIB_LITTLE_ENDIAN // Adjust the buffer pointer for big endian platforms -- cgit v1.2.3