Sfoglia il codice sorgente

test: suppress a warning due to an unused variable

Michele Caini 5 anni fa
parent
commit
0f951cd322
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      test/entt/entity/view.cpp

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

@@ -86,7 +86,6 @@ TEST(SingleComponentView, RawData) {
     ASSERT_EQ(*view.data(), entity);
     ASSERT_EQ(*cview.data(), entity);
 
-    const auto other = registry.create();
     registry.destroy(entity);
 
     ASSERT_EQ(view.size(), 0u);