aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-03-25 03:55:18 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-03-25 03:55:18 +0000
commitf3c6efd8d78f96a9a500b3ba7e024de122b9afa1 (patch)
tree632b58b9180caa30a8fd3ed1752db194a5a66aba /include
parent2c0fc6d415343b732a4ae39cce1458be1170b9f6 (diff)
downloadgoogletest-f3c6efd8d78f96a9a500b3ba7e024de122b9afa1.tar.gz
googletest-f3c6efd8d78f96a9a500b3ba7e024de122b9afa1.tar.bz2
googletest-f3c6efd8d78f96a9a500b3ba7e024de122b9afa1.zip
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.h4
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 5559ab44..34361ab1 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.
}