diff --git a/Source/cmDocumentationFormatter.h b/Source/cmDocumentationFormatter.h index affd0bbcb..a2e78016d 100644 --- a/Source/cmDocumentationFormatter.h +++ b/Source/cmDocumentationFormatter.h @@ -50,8 +50,8 @@ public: virtual cmDocumentationEnums::Form GetForm() const = 0; - virtual void PrintHeader(const char* name, std::ostream& os) {} - virtual void PrintFooter(std::ostream& os) {} + virtual void PrintHeader(const char* /*name*/, std::ostream& /*os*/) {} + virtual void PrintFooter(std::ostream& /*os*/) {} virtual void PrintSection(std::ostream& os, const cmDocumentationEntry* section, const char* name) = 0; diff --git a/Source/cmDocumentationFormatterHTML.cxx b/Source/cmDocumentationFormatterHTML.cxx index a51f71890..16823b132 100644 --- a/Source/cmDocumentationFormatterHTML.cxx +++ b/Source/cmDocumentationFormatterHTML.cxx @@ -147,7 +147,7 @@ void cmDocumentationFormatterHTML::PrintParagraph(std::ostream& os, } //---------------------------------------------------------------------------- -void cmDocumentationFormatterHTML::PrintHeader(const char* name, +void cmDocumentationFormatterHTML::PrintHeader(const char* /*name*/, std::ostream& os) { os << "\n";