summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-02 16:46:18 -0400
committerAlexander Neundorf <neundorf@kde.org>2007-07-02 16:46:18 -0400
commit1fb59c23fdda9bf1463360cbb7ffaa899cbcaecc (patch)
treef6fece636777c1f3b248d6c53d59581a68ccf298
parente25dd3b903ab11de6b53e63390cdb3f39fd29df1 (diff)
downloadcmake-1fb59c23fdda9bf1463360cbb7ffaa899cbcaecc.tar.gz
COMP: fix warnings
Alex
-rw-r--r--Source/cmCommandArgumentsHelper.cxx4
-rw-r--r--Source/cmExportCommand.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmCommandArgumentsHelper.cxx b/Source/cmCommandArgumentsHelper.cxx
index ffcd15ae1a..15523542bc 100644
--- a/Source/cmCommandArgumentsHelper.cxx
+++ b/Source/cmCommandArgumentsHelper.cxx
@@ -189,7 +189,7 @@ cmCAEnabler::cmCAEnabler(cmCommandArgumentsHelper* args,
,Enabled(false)
{}
-bool cmCAEnabler::DoConsume(const std::string& arg, unsigned int index)
+bool cmCAEnabler::DoConsume(const std::string&, unsigned int index)
{
if (index==0)
{
@@ -210,7 +210,7 @@ cmCADisabler::cmCADisabler(cmCommandArgumentsHelper* args,
,Enabled(true)
{}
-bool cmCADisabler::DoConsume(const std::string& arg, unsigned int index)
+bool cmCADisabler::DoConsume(const std::string&, unsigned int index)
{
if (index==0)
{
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index b166650057..5d98547cf3 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -25,10 +25,10 @@
cmExportCommand::cmExportCommand()
:cmCommand()
,ArgumentGroup()
-,Targets(&this->Helper, "TARGETS")
-,Append(&this->Helper, "APPEND", &ArgumentGroup)
-,Prefix(&this->Helper, "PREFIX", &ArgumentGroup)
-,Filename(&this->Helper, "FILE", &ArgumentGroup)
+,Targets(&Helper, "TARGETS")
+,Append(&Helper, "APPEND", &ArgumentGroup)
+,Prefix(&Helper, "PREFIX", &ArgumentGroup)
+,Filename(&Helper, "FILE", &ArgumentGroup)
{
// at first TARGETS
this->Targets.Follows(0);