mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-10 22:17:43 +00:00
Core/AssetNameGeneration: Mark assert variables as maybe unused
These may be considered unused in release builds.
This commit is contained in:
@@ -80,7 +80,7 @@ void ApplyGeneratedName(CResourceEntry *pEntry, const TString& rkDir, const TStr
|
|||||||
if (pEntry->Directory() == pNewDir && pEntry->Name() == NewName) return;
|
if (pEntry->Directory() == pNewDir && pEntry->Name() == NewName) return;
|
||||||
|
|
||||||
// Perform the move
|
// 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);
|
ASSERT(Success);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user