diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2013-03-01 06:53:35 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2013-03-01 06:53:35 +0000 |
commit | 29be92385e118de1b2ef45daf38dfd1dabbea63f (patch) | |
tree | d4a6bb89f5f680b6c0ec628211ad39dfc6c7d7e6 /test/gmock-generated-actions_test.cc | |
parent | 844fa94976acbcd01dc2de0a0cc7efc4f97274df (diff) | |
download | googletest-29be92385e118de1b2ef45daf38dfd1dabbea63f.tar.gz googletest-29be92385e118de1b2ef45daf38dfd1dabbea63f.tar.bz2 googletest-29be92385e118de1b2ef45daf38dfd1dabbea63f.zip |
Removes unused variables and functions.
Diffstat (limited to 'test/gmock-generated-actions_test.cc')
-rw-r--r-- | test/gmock-generated-actions_test.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/gmock-generated-actions_test.cc b/test/gmock-generated-actions_test.cc index 436f1a2e..23f8c8b0 100644 --- a/test/gmock-generated-actions_test.cc +++ b/test/gmock-generated-actions_test.cc @@ -956,6 +956,19 @@ TEST(ActionPnMacroTest, TypesAreCorrect) { Plus(1, 2, 3, 4, 5, 6, 7, 8, '9'); PlusActionP10<int, int, int, int, int, int, int, int, int, char> a10 = Plus(1, 2, 3, 4, 5, 6, 7, 8, 9, '0'); + + // Avoid "unused variable" warnings. + (void)a0; + (void)a1; + (void)a2; + (void)a3; + (void)a4; + (void)a5; + (void)a6; + (void)a7; + (void)a8; + (void)a9; + (void)a10; } // Tests that an ACTION_P*() action can be explicitly instantiated |