فهرست منبع

test: avoid unused variables

Michele Caini 1 سال پیش
والد
کامیت
6d03f4d6f2
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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);