Skip to content

Commit

Permalink
ECS: Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeAbel committed Oct 4, 2023
1 parent d92f639 commit 8a5b94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ECS/Registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ std::vector<std::vector<std::size_t>> Registry::getFrontLayers()

void Registry::initLayers(bool back)
{
std::size_t max;
std::size_t max = 0;
if (back) {
max = static_cast<std::size_t>(BackLayers::BACKMAX);
} else {
Expand Down

0 comments on commit 8a5b94f

Please sign in to comment.