COMP: fix warnings

Alex
This commit is contained in:
Alexander Neundorf 2007-07-02 16:46:18 -04:00
parent e25dd3b903
commit 1fb59c23fd
2 changed files with 6 additions and 6 deletions

View File

@ -189,7 +189,7 @@ cmCAEnabler::cmCAEnabler(cmCommandArgumentsHelper* args,
,Enabled(false) ,Enabled(false)
{} {}
bool cmCAEnabler::DoConsume(const std::string& arg, unsigned int index) bool cmCAEnabler::DoConsume(const std::string&, unsigned int index)
{ {
if (index==0) if (index==0)
{ {
@ -210,7 +210,7 @@ cmCADisabler::cmCADisabler(cmCommandArgumentsHelper* args,
,Enabled(true) ,Enabled(true)
{} {}
bool cmCADisabler::DoConsume(const std::string& arg, unsigned int index) bool cmCADisabler::DoConsume(const std::string&, unsigned int index)
{ {
if (index==0) if (index==0)
{ {

View File

@ -25,10 +25,10 @@
cmExportCommand::cmExportCommand() cmExportCommand::cmExportCommand()
:cmCommand() :cmCommand()
,ArgumentGroup() ,ArgumentGroup()
,Targets(&this->Helper, "TARGETS") ,Targets(&Helper, "TARGETS")
,Append(&this->Helper, "APPEND", &ArgumentGroup) ,Append(&Helper, "APPEND", &ArgumentGroup)
,Prefix(&this->Helper, "PREFIX", &ArgumentGroup) ,Prefix(&Helper, "PREFIX", &ArgumentGroup)
,Filename(&this->Helper, "FILE", &ArgumentGroup) ,Filename(&Helper, "FILE", &ArgumentGroup)
{ {
// at first TARGETS // at first TARGETS
this->Targets.Follows(0); this->Targets.Follows(0);