Browse Source

test: avoid unused variables

Michele Caini 1 year ago
parent
commit
6d03f4d6f2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/entt/entity/registry.cpp

+ 2 - 2
test/entt/entity/registry.cpp

@@ -535,8 +535,8 @@ TEST(Registry, StorageReset) {
     using namespace entt::literals;
 
     entt::registry registry{};
-    auto &storage = registry.storage<int>();
-    auto &other = registry.storage<int>("other"_hs);
+    registry.storage<int>();
+    registry.storage<int>("other"_hs);
 
     ASSERT_NE(std::as_const(registry).storage<int>(), nullptr);
     ASSERT_NE(registry.storage("other"_hs), nullptr);