Calm down compiler warning about unused var
This commit is contained in:
parent
7c82b7f51a
commit
37f90ed576
|
@ -3,6 +3,8 @@
|
||||||
void cmCPackDocumentMacros::GetMacrosDocumentation(
|
void cmCPackDocumentMacros::GetMacrosDocumentation(
|
||||||
std::vector<cmDocumentationEntry>& v)
|
std::vector<cmDocumentationEntry>& v)
|
||||||
{
|
{
|
||||||
|
// avoid compiler warning
|
||||||
|
(int)v.size();
|
||||||
// Commented-out example of use
|
// Commented-out example of use
|
||||||
//
|
//
|
||||||
// cmDocumentationEntry e("cpack_<macro>",
|
// cmDocumentationEntry e("cpack_<macro>",
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
void cmCPackDocumentVariables::DefineVariables(cmake* cm)
|
void cmCPackDocumentVariables::DefineVariables(cmake* cm)
|
||||||
{
|
{
|
||||||
|
// avoid compiler warning
|
||||||
|
(void*)cm;
|
||||||
// Subsection: variables defined/used by cpack,
|
// Subsection: variables defined/used by cpack,
|
||||||
// which are common to all CPack generators
|
// which are common to all CPack generators
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue