Browse Source

♻️ Fix -Wunused-variable in pfile.cpp

pull/1708/head
Gleb Mazovetskiy 5 years ago committed by Anders Jenbo
parent
commit
83292c8e67
  1. 2
      Source/pfile.cpp

2
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)) {

Loading…
Cancel
Save