diff --git a/Source/pfile.cpp b/Source/pfile.cpp index 55f6adff0..54f987960 100644 --- a/Source/pfile.cpp +++ b/Source/pfile.cpp @@ -95,7 +95,7 @@ void pfile_rename_temp_to_perm() dwIndex = 0; while (GetTempSaveNames(dwIndex, szTemp)) { - bool result = GetPermSaveNames(dwIndex, szPerm); // DO NOT PUT DIRECTLY INTO ASSERT! + [[maybe_unused]] bool result = GetPermSaveNames(dwIndex, szPerm); // DO NOT PUT DIRECTLY INTO ASSERT! assert(result); dwIndex++; if (mpqapi_has_file(szTemp)) {