summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCurl.cxx
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/CTest/cmCTestCurl.cxx
parente240a7c0176450e092e2398148c1e13f8940c239 (diff)
downloadCMake-e7b842e18955d13f6d9c021bab4a8935bf282744.zip
CMake-e7b842e18955d13f6d9c021bab4a8935bf282744.tar.gz
CMake-e7b842e18955d13f6d9c021bab4a8935bf282744.tar.bz2
Make sure unnused parameters are /*named*/
Diffstat (limited to 'Source/CTest/cmCTestCurl.cxx')
-rw-r--r--Source/CTest/cmCTestCurl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestCurl.cxx b/Source/CTest/cmCTestCurl.cxx
index b335e32..6910f6f 100644
--- a/Source/CTest/cmCTestCurl.cxx
+++ b/Source/CTest/cmCTestCurl.cxx
@@ -54,8 +54,8 @@ static size_t curlWriteMemoryCallback(void* ptr, size_t size, size_t nmemb,
return realsize;
}
-static size_t curlDebugCallback(CURL*, curl_infotype, char* chPtr, size_t size,
- void* data)
+static size_t curlDebugCallback(CURL* /*unused*/, curl_infotype /*unused*/,
+ char* chPtr, size_t size, void* data)
{
std::vector<char>* vec = static_cast<std::vector<char>*>(data);
vec->insert(vec->end(), chPtr, chPtr + size);