diff --git a/Source/CPack/cmCPackDocumentMacros.cxx b/Source/CPack/cmCPackDocumentMacros.cxx index 94d539141..ddc75a4b4 100644 --- a/Source/CPack/cmCPackDocumentMacros.cxx +++ b/Source/CPack/cmCPackDocumentMacros.cxx @@ -1,10 +1,8 @@ #include "cmCPackDocumentMacros.h" void cmCPackDocumentMacros::GetMacrosDocumentation( - std::vector& v) + std::vector& ) { - // avoid compiler warning - (int)v.size(); // Commented-out example of use // // cmDocumentationEntry e("cpack_", diff --git a/Source/CPack/cmCPackDocumentVariables.cxx b/Source/CPack/cmCPackDocumentVariables.cxx index 27d4df2fe..6327152b5 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