diff options
-rw-r--r-- | Source/cmPropertyMap.cxx | 2 | ||||
-rw-r--r-- | Source/cmSetPropertiesCommand.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmPropertyMap.cxx b/Source/cmPropertyMap.cxx index 925bfdd..9c68824 100644 --- a/Source/cmPropertyMap.cxx +++ b/Source/cmPropertyMap.cxx @@ -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); diff --git a/Source/cmSetPropertiesCommand.cxx b/Source/cmSetPropertiesCommand.cxx index 836f4c1..0a0993e 100644 --- a/Source/cmSetPropertiesCommand.cxx +++ b/Source/cmSetPropertiesCommand.cxx @@ -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(), |