diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2018-07-13 16:26:16 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2018-07-13 16:26:16 +0000 |
commit | 3f7d20904f0f01b1cf9742ee9a3f0f83072ad6a7 (patch) | |
tree | 565b2592da8c66d572833aa77a9a350ff3a66d94 /libcxx/test/std/containers/sequences/vector/iterators.pass.cpp | |
parent | ad4e5794071f80eb53c0f69e146dff2924657405 (diff) | |
download | bcm5719-llvm-3f7d20904f0f01b1cf9742ee9a3f0f83072ad6a7.tar.gz bcm5719-llvm-3f7d20904f0f01b1cf9742ee9a3f0f83072ad6a7.zip |
Fix a couple of 'unused variable' warnings in a vector test. NFC.
llvm-svn: 337016
Diffstat (limited to 'libcxx/test/std/containers/sequences/vector/iterators.pass.cpp')
-rw-r--r-- | libcxx/test/std/containers/sequences/vector/iterators.pass.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/containers/sequences/vector/iterators.pass.cpp b/libcxx/test/std/containers/sequences/vector/iterators.pass.cpp index a1ce2be3271..33093e151aa 100644 --- a/libcxx/test/std/containers/sequences/vector/iterators.pass.cpp +++ b/libcxx/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; |