summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-12-07 15:33:35 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-12-07 15:33:35 (GMT)
commit5d9121971cf1180fd004a606cabdf53e533779d6 (patch)
tree7acd0bd6b5c7e939f8022c2fb531a9997eeddc88 /Source
parent2305f7a94fd4ec3070a5a5ef69b90e5a51de3aef (diff)
downloadCMake-5d9121971cf1180fd004a606cabdf53e533779d6.zip
CMake-5d9121971cf1180fd004a606cabdf53e533779d6.tar.gz
CMake-5d9121971cf1180fd004a606cabdf53e533779d6.tar.bz2
COMP: fix warning
Diffstat (limited to 'Source')
-rw-r--r--Source/cmPropertyMap.cxx2
-rw-r--r--Source/cmSetPropertiesCommand.cxx1
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(),