diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-16 23:49:57 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-16 23:49:57 (GMT) |
commit | e7b842e18955d13f6d9c021bab4a8935bf282744 (patch) | |
tree | afa5a21f85b46b54b541d914236ae61400c83ae4 /Source/cmArchiveWrite.cxx | |
parent | e240a7c0176450e092e2398148c1e13f8940c239 (diff) | |
download | CMake-e7b842e18955d13f6d9c021bab4a8935bf282744.zip CMake-e7b842e18955d13f6d9c021bab4a8935bf282744.tar.gz CMake-e7b842e18955d13f6d9c021bab4a8935bf282744.tar.bz2 |
Make sure unnused parameters are /*named*/
Diffstat (limited to 'Source/cmArchiveWrite.cxx')
-rw-r--r-- | Source/cmArchiveWrite.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmArchiveWrite.cxx b/Source/cmArchiveWrite.cxx index ceb7d31..3da4f28 100644 --- a/Source/cmArchiveWrite.cxx +++ b/Source/cmArchiveWrite.cxx @@ -64,7 +64,8 @@ public: struct cmArchiveWrite::Callback { // archive_write_callback - static __LA_SSIZE_T Write(struct archive*, void* cd, const void* b, size_t n) + static __LA_SSIZE_T Write(struct archive* /*unused*/, void* cd, + const void* b, size_t n) { cmArchiveWrite* self = static_cast<cmArchiveWrite*>(cd); if (self->Stream.write(static_cast<const char*>(b), |