diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-12-07 15:33:35 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-12-07 15:33:35 (GMT) |
commit | 5d9121971cf1180fd004a606cabdf53e533779d6 (patch) | |
tree | 7acd0bd6b5c7e939f8022c2fb531a9997eeddc88 /Source | |
parent | 2305f7a94fd4ec3070a5a5ef69b90e5a51de3aef (diff) | |
download | CMake-5d9121971cf1180fd004a606cabdf53e533779d6.zip CMake-5d9121971cf1180fd004a606cabdf53e533779d6.tar.gz CMake-5d9121971cf1180fd004a606cabdf53e533779d6.tar.bz2 |
COMP: fix warning
Diffstat (limited to 'Source')
-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(), |