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)
{}
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)
{

View File

@ -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);