summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2021-11-03 15:07:22 -0400
committerCJ Johnson <johnsoncj@google.com>2021-11-03 15:12:53 -0400
commitbf0701daa9f5b30e5882e2f8f9a5280bcba87e77 (patch)
tree08835312bb50992bb3d5d53d29881101d3c91773
parent51536300a188a1a4086910686b00af603b488976 (diff)
downloadgoogletest-git-bf0701daa9f5b30e5882e2f8f9a5280bcba87e77.tar.gz
Googletest export
Address unused variable warning in gtest.h Closes #3645 PiperOrigin-RevId: 407393922
-rw-r--r--googletest/include/gtest/gtest.h2
1 files changed, 1 insertions, 1 deletions
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