aboutsummaryrefslogtreecommitdiff
path: root/test/StormTest.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2024-02-11 11:26:01 +0100
committerGitHub <noreply@github.com>2024-02-11 11:26:01 +0100
commite55c259d8a9877379f708c686bef93d2bc0a2155 (patch)
tree5213b2aaab2f2e35164e71e6399f115ce6b3e4f4 /test/StormTest.cpp
parent8978bdc8214f4ec3543ac11962fc094c3b0803b2 (diff)
parentd13270a686a9ce21614f103bc134615be75c263a (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 'test/StormTest.cpp')
-rwxr-xr-xtest/StormTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/StormTest.cpp b/test/StormTest.cpp
index 21f395f..596ebae 100755
--- a/test/StormTest.cpp
+++ b/test/StormTest.cpp
@@ -591,7 +591,7 @@ static HANDLE InitDirectorySearch(LPCTSTR szDirectory)
#if defined(STORMLIB_LINUX) || defined(STORMLIB_MAC)
- // Keep compilers happy
+ // Open the directory
return (HANDLE)opendir(szDirectory);
#endif
@@ -1296,8 +1296,8 @@ static void WINAPI AddFileCallback(void * pvUserData, DWORD dwBytesWritten, DWOR
{
TLogHelper * pLogger = (TLogHelper *)pvUserData;
- // Keep compiler happy
- bFinalCall = bFinalCall;
+ // Keep compilers happy
+ STORMLIB_UNUSED(bFinalCall);
pLogger->PrintProgress("Adding file (%s) (%u of %u) (%u of %u) ...", pLogger->UserString,
pLogger->UserCount,