[cmake-commits] alex committed cmTarget.cxx 1.142 1.143

cmake-commits at cmake.org cmake-commits at cmake.org
Wed May 23 08:24:31 EDT 2007


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

Modified Files:
	cmTarget.cxx 
Log Message:

COMP: don't user string::clear(), fix warnings about unused variables

Alex


Index: cmTarget.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.cxx,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -d -r1.142 -r1.143
--- cmTarget.cxx	22 May 2007 14:24:59 -0000	1.142
+++ cmTarget.cxx	23 May 2007 12:24:29 -0000	1.143
@@ -1237,7 +1237,7 @@
     }
 }
 
-const char* cmTarget::ImportedGetDirectory(const char* config, bool implib)
+const char* cmTarget::ImportedGetDirectory(const char* config, bool)
 {
   const char* location=this->GetLocation(config);
   std::string directory=cmSystemTools::GetFilenamePath(location);
@@ -1693,9 +1693,9 @@
     }
 }
 
-void cmTarget::ImportedGetFullNameInternal(TargetType type,
+void cmTarget::ImportedGetFullNameInternal(TargetType ,
                                          const char* config,
-                                         bool implib,
+                                         bool ,
                                          std::string& outPrefix,
                                          std::string& outBase,
                                          std::string& outSuffix)
@@ -1705,7 +1705,7 @@
   std::string location=this->GetLocation(config);
   outBase=cmSystemTools::GetFilenameWithoutExtension(location);
   outSuffix = cmSystemTools::GetFilenameExtension(location);
-  outPrefix.clear();
+  outPrefix = "";
 }
 
 



More information about the Cmake-commits mailing list