From 5d9121971cf1180fd004a606cabdf53e533779d6 Mon Sep 17 00:00:00 2001
From: Ken Martin <ken.martin@kitware.com>
Date: Thu, 7 Dec 2006 10:33:35 -0500
Subject: COMP: fix warning

---
 Source/cmPropertyMap.cxx          | 2 ++
 Source/cmSetPropertiesCommand.cxx | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

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(),
-- 
cgit v0.12