diff options
-rw-r--r-- | Source/CPack/cmCPackDocumentMacros.cxx | 2 | ||||
-rw-r--r-- | Source/CPack/cmCPackDocumentVariables.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackDocumentMacros.cxx b/Source/CPack/cmCPackDocumentMacros.cxx index 8752e56..94d5391 100644 --- a/Source/CPack/cmCPackDocumentMacros.cxx +++ b/Source/CPack/cmCPackDocumentMacros.cxx @@ -3,6 +3,8 @@ void cmCPackDocumentMacros::GetMacrosDocumentation( std::vector<cmDocumentationEntry>& v) { + // 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 8b60d5f..27d4df2 100644 --- a/Source/CPack/cmCPackDocumentVariables.cxx +++ b/Source/CPack/cmCPackDocumentVariables.cxx @@ -3,6 +3,8 @@ void cmCPackDocumentVariables::DefineVariables(cmake* cm) { + // avoid compiler warning + (void*)cm; // Subsection: variables defined/used by cpack, // which are common to all CPack generators |