Removes unused variables and functions.
This commit is contained in:
@@ -1039,6 +1039,19 @@ TEST(MatcherPnMacroTest, TypesAreCorrect) {
|
||||
EqualsSumOf(1, 2, 3, 4, 5, 6, 7, 8, '9');
|
||||
EqualsSumOfMatcherP10<int, int, int, int, int, int, int, int, int, char> a10 =
|
||||
EqualsSumOf(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 matcher-typed parameters can be used in Value() inside a
|
||||
|
||||
Reference in New Issue
Block a user