aboutsummaryrefslogtreecommitdiff
path: root/src/SBaseFileTable.cpp
diff options
context:
space:
mode:
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