diff options
author | Brad King <brad.king@kitware.com> | 2016-08-17 14:46:35 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-08-17 14:46:35 (GMT) |
commit | 67a7dcef45fef6172514d6df1bea3ca94a04735a (patch) | |
tree | 7a70d0cd96338acd3664b7bef1dcf59f6c7462bc /Source/cmArchiveWrite.cxx | |
parent | 29593b79a236f9bd6653ed0ab874444ae4f38f00 (diff) | |
parent | e7b842e18955d13f6d9c021bab4a8935bf282744 (diff) | |
download | CMake-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/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), |