summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-16 23:49:57 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-16 23:49:57 (GMT)
commite7b842e18955d13f6d9c021bab4a8935bf282744 (patch)
treeafa5a21f85b46b54b541d914236ae61400c83ae4 /Source/CPack
parente240a7c0176450e092e2398148c1e13f8940c239 (diff)
downloadCMake-e7b842e18955d13f6d9c021bab4a8935bf282744.zip
CMake-e7b842e18955d13f6d9c021bab4a8935bf282744.tar.gz
CMake-e7b842e18955d13f6d9c021bab4a8935bf282744.tar.bz2
Make sure unnused parameters are /*named*/
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackArchiveGenerator.cxx2
-rw-r--r--Source/CPack/cpack.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackArchiveGenerator.cxx b/Source/CPack/cmCPackArchiveGenerator.cxx
index b1f6864..9120a2f 100644
--- a/Source/CPack/cmCPackArchiveGenerator.cxx
+++ b/Source/CPack/cmCPackArchiveGenerator.cxx
@@ -259,7 +259,7 @@ int cmCPackArchiveGenerator::PackageFiles()
return 1;
}
-int cmCPackArchiveGenerator::GenerateHeader(std::ostream*)
+int cmCPackArchiveGenerator::GenerateHeader(std::ostream* /*unused*/)
{
return 1;
}
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index 771519c..de572c0 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -50,7 +50,7 @@ static const char* cmDocumentationOptions[][2] = {
{ CM_NULLPTR, CM_NULLPTR }
};
-int cpackUnknownArgument(const char*, void*)
+int cpackUnknownArgument(const char* /*unused*/, void* /*unused*/)
{
return 1;
}