diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-25 03:55:18 (GMT) |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-25 03:55:18 (GMT) |
commit | f3c6efd8d78f96a9a500b3ba7e024de122b9afa1 (patch) | |
tree | 632b58b9180caa30a8fd3ed1752db194a5a66aba /include | |
parent | 2c0fc6d415343b732a4ae39cce1458be1170b9f6 (diff) | |
download | googletest-f3c6efd8d78f96a9a500b3ba7e024de122b9afa1.zip googletest-f3c6efd8d78f96a9a500b3ba7e024de122b9afa1.tar.gz googletest-f3c6efd8d78f96a9a500b3ba7e024de122b9afa1.tar.bz2 |
Makes gtest compile without warning with gcc 4.0.3 and -Wall -Wextra.
Diffstat (limited to 'include')
-rw-r--r-- | include/gtest/internal/gtest-param-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gtest/internal/gtest-param-util.h b/include/gtest/internal/gtest-param-util.h index 5559ab4..34361ab 100644 --- a/include/gtest/internal/gtest-param-util.h +++ b/include/gtest/internal/gtest-param-util.h @@ -483,8 +483,8 @@ class ParameterizedTestCaseInfo : public ParameterizedTestCaseInfoBase { // about a generator. int AddTestCaseInstantiation(const char* instantiation_name, GeneratorCreationFunc* func, - const char* file, - int line) { + const char* /* file */, + int /* line */) { instantiations_.push_back(::std::make_pair(instantiation_name, func)); return 0; // Return value used only to run this method in namespace scope. } |