[libcxx] r290475 - Fix unused warning which only triggers in C++11
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 23 17:12:29 PST 2016
Author: ericwf
Date: Fri Dec 23 19:12:28 2016
New Revision: 290475
URL: http://llvm.org/viewvc/llvm-project?rev=290475&view=rev
Log:
Fix unused warning which only triggers in C++11
Modified:
libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opref/op_arrow.pass.cpp
Modified: libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opref/op_arrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opref/op_arrow.pass.cpp?rev=290475&r1=290474&r2=290475&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opref/op_arrow.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opref/op_arrow.pass.cpp Fri Dec 23 19:12:28 2016
@@ -113,4 +113,7 @@ int main()
static_assert(it1->get() == gC.get(), "");
}
#endif
+ {
+ ((void)gC);
+ }
}
More information about the cfe-commits
mailing list