浏览代码

cmLocalGenerator: Remove redundant path conversions.

The methods just called store the paths in already-converted form.
Stephen Kelly 10 年之前
父节点
当前提交
1933f3d1a3
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      Source/cmLocalGenerator.cxx

+ 0 - 3
Source/cmLocalGenerator.cxx

@@ -366,9 +366,6 @@ void cmLocalGenerator::GenerateInstallRules()
   std::string file = this->StateSnapshot.GetCurrentBinaryDirectory();
   std::string homedir = this->GetState()->GetBinaryDirectory();
   std::string currdir = this->StateSnapshot.GetCurrentBinaryDirectory();
-  cmSystemTools::ConvertToUnixSlashes(file);
-  cmSystemTools::ConvertToUnixSlashes(homedir);
-  cmSystemTools::ConvertToUnixSlashes(currdir);
   int toplevel_install = 0;
   if ( currdir == homedir )
     {