mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-10 05:57:48 +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
|
// Get index list
|
||||||
while (pParent != nullptr)
|
while (pParent != nullptr)
|
||||||
{
|
{
|
||||||
bool Found = false;
|
[[maybe_unused]] bool Found = false;
|
||||||
|
|
||||||
for (size_t iDir = 0; iDir < pParent->NumSubdirectories(); iDir++)
|
for (size_t iDir = 0; iDir < pParent->NumSubdirectories(); iDir++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user