Fixed compilation warnings due to unused result in release versions.
This commit is contained in:
parent
63f6db2a0c
commit
8d1a7bc957
@ -305,7 +305,7 @@ bool Application::init()
|
|||||||
const fs::path path = std::move(*pathOpt);
|
const fs::path path = std::move(*pathOpt);
|
||||||
if (!fs::exists(path))
|
if (!fs::exists(path))
|
||||||
{
|
{
|
||||||
const bool result = fs::create_directories(path);
|
[[maybe_unused]] const bool result = fs::create_directories(path);
|
||||||
MIJIN_ASSERT(result, "Error creating user folder.");
|
MIJIN_ASSERT(result, "Error creating user folder.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user