Explorar o código

test: avoid warnings due to unused variables

Michele Caini %!s(int64=3) %!d(string=hai) anos
pai
achega
afb70d1570
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      test/entt/entity/snapshot.cpp

+ 0 - 1
test/entt/entity/snapshot.cpp

@@ -125,7 +125,6 @@ TEST(BasicSnapshot, GetTypeSparse) {
 
     entt::registry registry;
     entt::basic_snapshot snapshot{registry};
-    const auto &storage = registry.storage<int>();
 
     entt::entity entities[3u];
     const int values[3u]{1, 2, 3};