From 6d03f4d6f2c88b6e8978ef38491db222211fbe87 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 11 Sep 2024 08:29:10 +0200 Subject: [PATCH] test: avoid unused variables --- test/entt/entity/registry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/entt/entity/registry.cpp b/test/entt/entity/registry.cpp index c379d785c..c184c00b2 100644 --- a/test/entt/entity/registry.cpp +++ b/test/entt/entity/registry.cpp @@ -535,8 +535,8 @@ TEST(Registry, StorageReset) { using namespace entt::literals; entt::registry registry{}; - auto &storage = registry.storage(); - auto &other = registry.storage("other"_hs); + registry.storage(); + registry.storage("other"_hs); ASSERT_NE(std::as_const(registry).storage(), nullptr); ASSERT_NE(registry.storage("other"_hs), nullptr);