Browse Source

test: avoid warnings due to unused variables

Michele Caini 2 năm trước cách đây
mục cha
commit
afb70d1570
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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};