Editor/Undo: Mark relevant variables as maybe unused

Prevents potential warnings on release mode.
This commit is contained in:
Lioncache
2025-12-07 02:30:02 -05:00
parent deb1aaae01
commit f577335087
4 changed files with 9 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ protected:
if (mpDir->IsEmpty(true))
{
gpEdApp->ResourceBrowser()->DirectoryAboutToBeDeleted(mpDir);
bool DeleteSuccess = mpDir->Delete();
[[maybe_unused]] const bool DeleteSuccess = mpDir->Delete();
ASSERT(DeleteSuccess);
gpEdApp->ResourceBrowser()->DirectoryDeleted();