mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-11 14:41:57 +00:00
Editor/Undo: Mark relevant variables as maybe unused
Prevents potential warnings on release mode.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user