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/SFileAddFile.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/SFileAddFile.cpp')
-rw-r--r-- | src/SFileAddFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SFileAddFile.cpp b/src/SFileAddFile.cpp index 1baf1fa..54dcbc5 100644 --- a/src/SFileAddFile.cpp +++ b/src/SFileAddFile.cpp @@ -1107,8 +1107,8 @@ bool WINAPI SFileRemoveFile(HANDLE hMpq, const char * szFileName, DWORD dwSearch TMPQFile * hf = NULL;
DWORD dwErrCode = ERROR_SUCCESS;
- // Keep compiler happy
- dwSearchScope = dwSearchScope;
+ // Keep compilers happy
+ STORMLIB_UNUSED(dwSearchScope);
// Check the parameters
if(ha == NULL)
|