Explorar o código

VS: Remove call to ConvertToWindowsExtendedPath with result discarded

Remove call to ConvertToWindowsExtendedPath.  The call has no side effect and
the return value is discarded.
Daniel Eiband %!s(int64=6) %!d(string=hai) anos
pai
achega
f4afcd5c6b
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Source/cmGlobalVisualStudioGenerator.cxx

+ 0 - 1
Source/cmGlobalVisualStudioGenerator.cxx

@@ -901,7 +901,6 @@ void cmGlobalVisualStudioGenerator::AddSymbolExportCommand(
   gt->LocalGenerator->ComputeObjectFilenames(mapping, gt);
   std::string obj_dir = gt->ObjectDirectory;
   std::string cmakeCommand = cmSystemTools::GetCMakeCommand();
-  cmSystemTools::ConvertToWindowsExtendedPath(cmakeCommand);
   std::string obj_dir_expanded = obj_dir;
   cmSystemTools::ReplaceString(obj_dir_expanded, this->GetCMakeCFGIntDir(),
                                configName.c_str());