Makes gtest compile clean with MSVC's warning 4100 (unused formal parameter) enabled.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user