diff options
author | Enji Cooper <yaneurabeya@gmail.com> | 2019-02-13 18:31:35 (GMT) |
---|---|---|
committer | Enji Cooper <yaneurabeya@gmail.com> | 2019-02-13 22:38:51 (GMT) |
commit | 1c22797cd3046a9fb74dc49268ac18ab86c14568 (patch) | |
tree | 2ff65522212b2c3ba88c6d99489f92ce0e45e62d /googlemock/test/gmock-generated-matchers_test.cc | |
parent | 5388473acfb6c75dab2236ad425980ffa4bf4b39 (diff) | |
download | googletest-1c22797cd3046a9fb74dc49268ac18ab86c14568.zip googletest-1c22797cd3046a9fb74dc49268ac18ab86c14568.tar.gz googletest-1c22797cd3046a9fb74dc49268ac18ab86c14568.tar.bz2 |
Fix clang `-Wunused-parameter` warningsrefs/pull/2125/head
Comment out unused method parameters in their relevant definitions.
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
Diffstat (limited to 'googlemock/test/gmock-generated-matchers_test.cc')
-rw-r--r-- | googlemock/test/gmock-generated-matchers_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/test/gmock-generated-matchers_test.cc b/googlemock/test/gmock-generated-matchers_test.cc index eb47f2b..6c4b300 100644 --- a/googlemock/test/gmock-generated-matchers_test.cc +++ b/googlemock/test/gmock-generated-matchers_test.cc @@ -1262,7 +1262,7 @@ namespace adl_test { MATCHER(M, "") { return true; } template <typename T1, typename T2> -bool AllOf(const T1& t1, const T2& t2) { return true; } +bool AllOf(const T1& /*t1*/, const T2& /*t2*/) { return true; } TEST(AllOfTest, DoesNotCallAllOfUnqualified) { EXPECT_THAT(42, testing::AllOf( |