COMP: fix warning

This commit is contained in:
Ken Martin 2006-12-07 10:33:35 -05:00
parent 2305f7a94f
commit 5d9121971c
2 changed files with 2 additions and 1 deletions

View File

@ -77,6 +77,8 @@ void cmPropertyMap::SetProperty(const char *name, const char *value,
}
cmSystemTools::Error(msg.c_str());
}
#else
(void)scope;
#endif
cmProperty *prop = this->GetOrCreateProperty(name);

View File

@ -125,7 +125,6 @@ bool cmSetPropertiesCommand::InitialPass(
break;
case cmProperty::GLOBAL:
{
std::vector<std::string>::const_iterator j;
for(j= propertyPairs.begin(); j != propertyPairs.end(); ++j)
{
this->Makefile->GetCMakeInstance()->SetProperty(j->c_str(),