From 8a5b94ff9d5a621cc995269af86acee7483c95f0 Mon Sep 17 00:00:00 2001 From: guillaume abel Date: Wed, 4 Oct 2023 10:17:22 +0200 Subject: [PATCH] ECS: Fix warnings --- src/ECS/Registry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ECS/Registry.cpp b/src/ECS/Registry.cpp index dfe278a6..569da36a 100644 --- a/src/ECS/Registry.cpp +++ b/src/ECS/Registry.cpp @@ -112,7 +112,7 @@ std::vector> Registry::getFrontLayers() void Registry::initLayers(bool back) { - std::size_t max; + std::size_t max = 0; if (back) { max = static_cast(BackLayers::BACKMAX); } else {