COMP: fix warning
This commit is contained in:
parent
2305f7a94f
commit
5d9121971c
@ -77,6 +77,8 @@ void cmPropertyMap::SetProperty(const char *name, const char *value,
|
|||||||
}
|
}
|
||||||
cmSystemTools::Error(msg.c_str());
|
cmSystemTools::Error(msg.c_str());
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
(void)scope;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
cmProperty *prop = this->GetOrCreateProperty(name);
|
cmProperty *prop = this->GetOrCreateProperty(name);
|
||||||
|
@ -125,7 +125,6 @@ bool cmSetPropertiesCommand::InitialPass(
|
|||||||
break;
|
break;
|
||||||
case cmProperty::GLOBAL:
|
case cmProperty::GLOBAL:
|
||||||
{
|
{
|
||||||
std::vector<std::string>::const_iterator j;
|
|
||||||
for(j= propertyPairs.begin(); j != propertyPairs.end(); ++j)
|
for(j= propertyPairs.begin(); j != propertyPairs.end(); ++j)
|
||||||
{
|
{
|
||||||
this->Makefile->GetCMakeInstance()->SetProperty(j->c_str(),
|
this->Makefile->GetCMakeInstance()->SetProperty(j->c_str(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user