Parcourir la source

test: avoid warnings due to unused variables

Michele Caini il y a 3 ans
Parent
commit
afb70d1570
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  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::registry registry;
     entt::basic_snapshot snapshot{registry};
     entt::basic_snapshot snapshot{registry};
-    const auto &storage = registry.storage<int>();
 
 
     entt::entity entities[3u];
     entt::entity entities[3u];
     const int values[3u]{1, 2, 3};
     const int values[3u]{1, 2, 3};