summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-17 14:46:35 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-17 14:46:35 (GMT)
commit67a7dcef45fef6172514d6df1bea3ca94a04735a (patch)
tree7a70d0cd96338acd3664b7bef1dcf59f6c7462bc /Source/cmake.cxx
parent29593b79a236f9bd6653ed0ab874444ae4f38f00 (diff)
parente7b842e18955d13f6d9c021bab4a8935bf282744 (diff)
downloadCMake-67a7dcef45fef6172514d6df1bea3ca94a04735a.zip
CMake-67a7dcef45fef6172514d6df1bea3ca94a04735a.tar.gz
CMake-67a7dcef45fef6172514d6df1bea3ca94a04735a.tar.bz2
Merge topic 'readability-named-parameter'
e7b842e1 Make sure unnused parameters are /*named*/
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 4313d83..9e338e8 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -129,8 +129,9 @@ typedef cmsys::hash_map<std::string, Json::Value> JsonValueMapType;
static bool cmakeCheckStampFile(const char* stampName);
static bool cmakeCheckStampList(const char* stampName);
-void cmWarnUnusedCliWarning(const std::string& variable, int, void* ctx,
- const char*, const cmMakefile*)
+void cmWarnUnusedCliWarning(const std::string& variable, int /*unused*/,
+ void* ctx, const char* /*unused*/,
+ const cmMakefile* /*unused*/)
{
cmake* cm = reinterpret_cast<cmake*>(ctx);
cm->MarkCliAsUsed(variable);