Makes gtest compile clean with MSVC's warning 4100 (unused formal parameter) enabled.

This commit is contained in:
zhanyong.wan
2009-09-17 05:04:08 +00:00
parent f07dc6b1b1
commit 12d740faef
5 changed files with 19 additions and 21 deletions

View File

@@ -725,8 +725,8 @@ class TypeParameterizedTestCase {
template <GTEST_TEMPLATE_ Fixture, typename Types>
class TypeParameterizedTestCase<Fixture, Templates0, Types> {
public:
static bool Register(const char* prefix, const char* case_name,
const char* test_names) {
static bool Register(const char* /*prefix*/, const char* /*case_name*/,
const char* /*test_names*/) {
return true;
}
};