mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-08 21:17:53 +00:00
CVirtualDirectoryModel: Mark Found variable as [[maybe_unused]]
This can technically be unused on release builds.
This commit is contained in:
@@ -202,7 +202,7 @@ QModelIndex CVirtualDirectoryModel::GetIndexForDirectory(const CVirtualDirectory
|
||||
// Get index list
|
||||
while (pParent != nullptr)
|
||||
{
|
||||
bool Found = false;
|
||||
[[maybe_unused]] bool Found = false;
|
||||
|
||||
for (size_t iDir = 0; iDir < pParent->NumSubdirectories(); iDir++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user