aboutsummaryrefslogtreecommitdiff
path: root/src/SBaseFileTable.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2024-02-11 09:46:30 +0100
committerLadislav Zezula <zezula@volny.cz>2024-02-11 09:46:30 +0100
commitd13270a686a9ce21614f103bc134615be75c263a (patch)
tree5213b2aaab2f2e35164e71e6399f115ce6b3e4f4 /src/SBaseFileTable.cpp
parent8978bdc8214f4ec3543ac11962fc094c3b0803b2 (diff)
The flag MPQ_OPEN_NO_LISTFILE is now propagated by SFileOpenPatchArchive
Diffstat (limited to 'src/SBaseFileTable.cpp')
-rw-r--r--src/SBaseFileTable.cpp8
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