[cmake-commits] martink committed cmPropertyMap.cxx 1.2 1.3 cmSetPropertiesCommand.cxx 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Dec 7 10:33:37 EST 2006


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv6951/Source

Modified Files:
	cmPropertyMap.cxx cmSetPropertiesCommand.cxx 
Log Message:
COMP: fix warning


Index: cmSetPropertiesCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSetPropertiesCommand.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cmSetPropertiesCommand.cxx	7 Dec 2006 15:26:40 -0000	1.2
+++ cmSetPropertiesCommand.cxx	7 Dec 2006 15:33:35 -0000	1.3
@@ -125,7 +125,6 @@
       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(),

Index: cmPropertyMap.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmPropertyMap.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cmPropertyMap.cxx	7 Dec 2006 14:44:45 -0000	1.2
+++ cmPropertyMap.cxx	7 Dec 2006 15:33:35 -0000	1.3
@@ -77,6 +77,8 @@
       }
     cmSystemTools::Error(msg.c_str()); 
     }
+#else
+  (void)scope;
 #endif
 
   cmProperty *prop = this->GetOrCreateProperty(name);



More information about the Cmake-commits mailing list