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 --- test/StormTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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, -- cgit v1.2.3