diff --git a/src/Core/GameProject/AssetNameGeneration.cpp b/src/Core/GameProject/AssetNameGeneration.cpp index d2c2bd5c..f466f812 100644 --- a/src/Core/GameProject/AssetNameGeneration.cpp +++ b/src/Core/GameProject/AssetNameGeneration.cpp @@ -80,7 +80,7 @@ void ApplyGeneratedName(CResourceEntry *pEntry, const TString& rkDir, const TStr if (pEntry->Directory() == pNewDir && pEntry->Name() == NewName) return; // Perform the move - bool Success = pEntry->MoveAndRename(pNewDir->FullPath(), NewName, true, true); + [[maybe_unused]] const bool Success = pEntry->MoveAndRename(pNewDir->FullPath(), NewName, true, true); ASSERT(Success); }