summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-09-19 14:46:37 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-09-19 14:46:37 (GMT)
commita347abe269c3ac065f9a9d9973c8935ac055f165 (patch)
treefbf55c787732cf207f099b3479ef3b241b8166e6 /Source
parentcfdaa4b0b3ef3383eb1c0c52c4c44ee2ca3f25d6 (diff)
downloadCMake-a347abe269c3ac065f9a9d9973c8935ac055f165.zip
CMake-a347abe269c3ac065f9a9d9973c8935ac055f165.tar.gz
CMake-a347abe269c3ac065f9a9d9973c8935ac055f165.tar.bz2
COMP: fix warning about unused parameters
Alex
Diffstat (limited to 'Source')
-rw-r--r--Source/cmDocumentationFormatter.h4
-rw-r--r--Source/cmDocumentationFormatterHTML.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmDocumentationFormatter.h b/Source/cmDocumentationFormatter.h
index affd0bb..a2e7801 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 a51f718..16823b1 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 << "<html><body>\n";