diff options
Diffstat (limited to 'test/gmock_test.cc')
-rw-r--r-- | test/gmock_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gmock_test.cc b/test/gmock_test.cc index ba137dd3..0b891137 100644 --- a/test/gmock_test.cc +++ b/test/gmock_test.cc @@ -251,5 +251,5 @@ TEST(WideInitGoogleMockTest, CallsInitGoogleTest) { TEST(FlagTest, IsAccessibleInCode) { bool dummy = testing::GMOCK_FLAG(catch_leaked_mocks) && testing::GMOCK_FLAG(verbose) == ""; - dummy = dummy; // Avoids the "unused local variable" warning. + (void)dummy; // Avoids the "unused local variable" warning. } |