| Index: testing/gmock/include/gmock/gmock-actions.h
|
| diff --git a/testing/gmock/include/gmock/gmock-actions.h b/testing/gmock/include/gmock/gmock-actions.h
|
| index d7baa5d29a29507652f3253310e1be02aa192e73..341e47b0d7ac49c40539ee9c13947393c0ee764f 100644
|
| --- a/testing/gmock/include/gmock/gmock-actions.h
|
| +++ b/testing/gmock/include/gmock/gmock-actions.h
|
| @@ -534,7 +534,7 @@ class ReturnVoidAction {
|
| // Allows Return() to be used in any void-returning function.
|
| template <typename Result, typename ArgumentTuple>
|
| static void Perform(const ArgumentTuple&) {
|
| - CompileAssertTypesEqual<void, Result>();
|
| + (void)CompileAssertTypesEqual<void, Result>();
|
| }
|
| };
|
|
|
|
|