diff options
author | Ladislav Zezula <zezula@volny.cz> | 2024-02-11 11:26:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 11:26:01 +0100 |
commit | e55c259d8a9877379f708c686bef93d2bc0a2155 (patch) | |
tree | 5213b2aaab2f2e35164e71e6399f115ce6b3e4f4 /src/SBaseFileTable.cpp | |
parent | 8978bdc8214f4ec3543ac11962fc094c3b0803b2 (diff) | |
parent | d13270a686a9ce21614f103bc134615be75c263a (diff) |
Merge pull request #319 from ladislav-zezula/LZ_SFileOpenPatchArchive_Fix
The flag MPQ_OPEN_NO_LISTFILE is now propagated by SFileOpenPatchArchive
Diffstat (limited to 'src/SBaseFileTable.cpp')
-rw-r--r-- | src/SBaseFileTable.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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
|