From bf0701daa9f5b30e5882e2f8f9a5280bcba87e77 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Wed, 3 Nov 2021 15:07:22 -0400 Subject: Googletest export Address unused variable warning in gtest.h Closes #3645 PiperOrigin-RevId: 407393922 --- googletest/include/gtest/gtest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googletest/include/gtest/gtest.h b/googletest/include/gtest/gtest.h index db4c6203..cdde1aa4 100644 --- a/googletest/include/gtest/gtest.h +++ b/googletest/include/gtest/gtest.h @@ -1124,7 +1124,7 @@ class TestEventListener { virtual void OnTestStart(const TestInfo& test_info) = 0; // Fired when a test is disabled - virtual void OnTestDisabled(const TestInfo& test_info) {} + virtual void OnTestDisabled(const TestInfo& /*test_info*/) {} // Fired after a failed assertion or a SUCCEED() invocation. // If you want to throw an exception from this function to skip to the next -- cgit v1.2.1