Fixed compilation warnings due to unused result in release versions.

This commit is contained in:
Patrick 2025-03-13 10:52:13 +01:00
parent 63f6db2a0c
commit 8d1a7bc957

View File

@ -305,7 +305,7 @@ bool Application::init()
const fs::path path = std::move(*pathOpt);
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.");
}
}