fix: PVS-Studio V522 mark false

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
This commit is contained in:
Vyacheslav Ivanov
2024-08-03 23:00:10 +03:00
committed by Pugemon
parent 4efa574eec
commit 3621e7ce1b
18 changed files with 81 additions and 81 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ void Engine::loadAssets() {
// no need
// correct log messages order is more useful
bool threading = false;
if (threading) {
if (threading) { // TODO: Why is always false?
auto task = loader.startTask([=](){});
task->waitForEnd();
} else {