mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 22:00:10 -05:00
Calm down compiler warning about unused var
This commit is contained in:
committed by
Rolf Eike Beer
parent
7c82b7f51a
commit
37f90ed576
@@ -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>",
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user