diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-09-17 05:04:08 (GMT) |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-09-17 05:04:08 (GMT) |
commit | 12d740faef11779b27b17c558ca92622bc0d2b54 (patch) | |
tree | 6e6dc642541619e5761cde41c28b5870360f91de /src | |
parent | f07dc6b1b1bb16a4956e9880eb081fb01f1c186a (diff) | |
download | googletest-12d740faef11779b27b17c558ca92622bc0d2b54.zip googletest-12d740faef11779b27b17c558ca92622bc0d2b54.tar.gz googletest-12d740faef11779b27b17c558ca92622bc0d2b54.tar.bz2 |
Makes gtest compile clean with MSVC's warning 4100 (unused formal parameter) enabled.
Diffstat (limited to 'src')
-rw-r--r-- | src/gtest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gtest.cc b/src/gtest.cc index 677396d..5b33d31 100644 --- a/src/gtest.cc +++ b/src/gtest.cc @@ -4134,7 +4134,8 @@ TestInfoImpl::~TestInfoImpl() { // For example, if Foo() calls Bar(), which in turn calls // GetCurrentOsStackTraceExceptTop(..., 1), Foo() will be included in // the trace but Bar() and GetCurrentOsStackTraceExceptTop() won't. -String GetCurrentOsStackTraceExceptTop(UnitTest* unit_test, int skip_count) { +String GetCurrentOsStackTraceExceptTop(UnitTest* /*unit_test*/, + int skip_count) { // We pass skip_count + 1 to skip this wrapper function in addition // to what the user really wants to skip. return GetUnitTestImpl()->CurrentOsStackTraceExceptTop(skip_count + 1); |