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/cmELF.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/cmELF.cxx')
-rw-r--r-- | Source/cmELF.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx index 266b786..c687e2f 100644 --- a/Source/cmELF.cxx +++ b/Source/cmELF.cxx @@ -55,17 +55,17 @@ template <size_t s> struct cmELFByteSwapSize { }; -void cmELFByteSwap(char*, cmELFByteSwapSize<1> const&) +void cmELFByteSwap(char* /*unused*/, cmELFByteSwapSize<1> const& /*unused*/) { } -void cmELFByteSwap(char* data, cmELFByteSwapSize<2> const&) +void cmELFByteSwap(char* data, cmELFByteSwapSize<2> const& /*unused*/) { char one_byte; one_byte = data[0]; data[0] = data[1]; data[1] = one_byte; } -void cmELFByteSwap(char* data, cmELFByteSwapSize<4> const&) +void cmELFByteSwap(char* data, cmELFByteSwapSize<4> const& /*unused*/) { char one_byte; one_byte = data[0]; @@ -75,7 +75,7 @@ void cmELFByteSwap(char* data, cmELFByteSwapSize<4> const&) data[1] = data[2]; data[2] = one_byte; } -void cmELFByteSwap(char* data, cmELFByteSwapSize<8> const&) +void cmELFByteSwap(char* data, cmELFByteSwapSize<8> const& /*unused*/) { char one_byte; one_byte = data[0]; |