diff options
author | Eric NOULARD <eric.noulard@gmail.com> | 2012-02-01 19:47:28 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-02-14 21:05:23 (GMT) |
commit | 52c53deb1bc0109340479aa1284e2fa03b2f5401 (patch) | |
tree | 3e7e912e65be404acfa0309f141c284c5c1361a6 /Source | |
parent | 37f90ed57609308ff33223474567e5bfb94c2a21 (diff) | |
download | CMake-52c53deb1bc0109340479aa1284e2fa03b2f5401.zip CMake-52c53deb1bc0109340479aa1284e2fa03b2f5401.tar.gz CMake-52c53deb1bc0109340479aa1284e2fa03b2f5401.tar.bz2 |
Really avoid compiler warning about unused vars
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CPack/cmCPackDocumentMacros.cxx | 4 | ||||
-rw-r--r-- | Source/CPack/cmCPackDocumentVariables.cxx | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/Source/CPack/cmCPackDocumentMacros.cxx b/Source/CPack/cmCPackDocumentMacros.cxx index 94d5391..ddc75a4 100644 --- a/Source/CPack/cmCPackDocumentMacros.cxx +++ b/Source/CPack/cmCPackDocumentMacros.cxx @@ -1,10 +1,8 @@ #include "cmCPackDocumentMacros.h" void cmCPackDocumentMacros::GetMacrosDocumentation( - std::vector<cmDocumentationEntry>& v) + std::vector<cmDocumentationEntry>& ) { - // avoid compiler warning - (int)v.size(); // Commented-out example of use // // cmDocumentationEntry e("cpack_<macro>", diff --git a/Source/CPack/cmCPackDocumentVariables.cxx b/Source/CPack/cmCPackDocumentVariables.cxx index 27d4df2..6327152 100644 --- a/Source/CPack/cmCPackDocumentVariables.cxx +++ b/Source/CPack/cmCPackDocumentVariables.cxx @@ -1,10 +1,8 @@ #include "cmCPackDocumentVariables.h" #include "cmake.h" -void cmCPackDocumentVariables::DefineVariables(cmake* cm) +void cmCPackDocumentVariables::DefineVariables(cmake* ) { - // avoid compiler warning - (void*)cm; // Subsection: variables defined/used by cpack, // which are common to all CPack generators |