From f093c3d5526c7b847cb64697a26d9bf891af627c Mon Sep 17 00:00:00 2001 From: Lioncache Date: Sat, 6 Dec 2025 17:12:53 -0500 Subject: [PATCH] Core/AssetNameGeneration: Mark assert variables as maybe unused These may be considered unused in release builds. --- src/Core/GameProject/AssetNameGeneration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }