Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: base/tuple_unittest.cc

Issue 1432003: Minor C++ fixes found by Clang. (Closed)
Patch Set: rebase Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/tuple_unittest.cc
diff --git a/base/tuple_unittest.cc b/base/tuple_unittest.cc
index 65a37573236fb8ca7dd2b5778c3fff89db63a0eb..402394cb66ff4dd025e0175e66d9370c9537c1ad 100644
--- a/base/tuple_unittest.cc
+++ b/base/tuple_unittest.cc
@@ -3,6 +3,8 @@
// found in the LICENSE file.
#include "base/tuple.h"
+
+#include "base/compiler_specific.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -28,7 +30,7 @@ struct Addz {
} // namespace
TEST(TupleTest, Basic) {
- Tuple0 t0 = MakeTuple();
+ Tuple0 t0 ALLOW_UNUSED = MakeTuple();
willchan no longer on Chromium 2010/03/30 17:13:18 I don't much care, but I'm not sure of the point o
Tuple1<int> t1(1);
Tuple2<int, const char*> t2 = MakeTuple(1, static_cast<const char*>("wee"));
Tuple3<int, int, int> t3(1, 2, 3);

Powered by Google App Engine
This is Rietveld 408576698