Просмотр исходного кода

test: avoid warnings due to unused variables

Michele Caini 2 лет назад
Родитель
Сommit
afb70d1570
1 измененных файлов с 0 добавлено и 1 удалено
  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};