Really avoid compiler warning about unused vars
This commit is contained in:
parent
37f90ed576
commit
52c53deb1b
|
@ -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>",
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue