diff options
-rw-r--r-- | Source/cmCommandArgumentsHelper.cxx | 4 | ||||
-rw-r--r-- | Source/cmExportCommand.cxx | 8 |
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); |