Browse Source

COMP: remove an unused variable warning

Bill Hoffman 21 years ago
parent
commit
ef07a8565e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Source/cmSystemTools.cxx

+ 0 - 1
Source/cmSystemTools.cxx

@@ -1220,7 +1220,6 @@ std::string cmSystemTools::RelativePath(const char* local, const char* remote)
     }
     }
   
   
   // split up both paths into arrays of strings using / as a separator
   // split up both paths into arrays of strings using / as a separator
-  std::string localString = local;
   std::vector<cmStdString> localSplit = cmSystemTools::SplitString(local, '/', true); 
   std::vector<cmStdString> localSplit = cmSystemTools::SplitString(local, '/', true); 
   std::vector<cmStdString> remoteSplit = cmSystemTools::SplitString(remote, '/', true);
   std::vector<cmStdString> remoteSplit = cmSystemTools::SplitString(remote, '/', true);
   std::vector<cmStdString> commonPath; // store shared parts of path in this array
   std::vector<cmStdString> commonPath; // store shared parts of path in this array