]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/experimental/memory/observer_ptr/cons/cons.cc
libstdc++: Avoid warnings in tests
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / experimental / memory / observer_ptr / cons / cons.cc
index 4b29da22469f27132dbea09dc9bd8b70f02538a5..3d6bb41e3ba5f975bee6ffb967749bfca8c3468e 100644 (file)
@@ -44,7 +44,6 @@ void test02()
 
 void test03()
 {
-  int x{};
   observer_ptr<int> a;
   observer_ptr<const int> b{a};
   VERIFY(a == b);