From dd3feb87cd9c9caa29a4f451d7b0563f6cd94a96 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 19 Jan 2024 14:35:26 +0100 Subject: [PATCH] test: avoid warnings due to unused variables --- test/entt/entity/group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/entt/entity/group.cpp b/test/entt/entity/group.cpp index 6bf3a6cff..35978583a 100644 --- a/test/entt/entity/group.cpp +++ b/test/entt/entity/group.cpp @@ -1491,7 +1491,7 @@ TEST(OwningGroup, SwapElements) { ASSERT_EQ(registry.storage().index(entity[0u]), 1u); ASSERT_EQ(registry.storage().index(entity[0u]), 1u); - const auto group = registry.group(entt::get); + registry.group(entt::get); ASSERT_EQ(registry.storage().index(entity[0u]), 0u); ASSERT_EQ(registry.storage().index(entity[0u]), 1u);