Browse Source

Fix a couple of 'unused variable' warnings in a vector test. NFC.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337016 91177308-0d34-0410-b5e6-96231b3b80d8
Marshall Clow 7 years ago
parent
commit
9765ed0367
1 changed files with 4 additions and 0 deletions
  1. 4 0
      test/std/containers/sequences/vector/iterators.pass.cpp

+ 4 - 0
test/std/containers/sequences/vector/iterators.pass.cpp

@@ -77,6 +77,8 @@ int main()
         typedef std::vector<T> C;
         C::iterator i;
         C::const_iterator j;
+        (void) i;
+        (void) j;
     }
 #if TEST_STD_VER >= 11
     {
@@ -125,6 +127,8 @@ int main()
         typedef std::vector<T, min_allocator<T>> C;
         C::iterator i;
         C::const_iterator j;
+        (void) i;
+        (void) j;
     }
     {
         typedef A T;