Browse Source

Unused variable

Source commit: 90e12d66f72037c37043b53b5324b359c4e23e5b
Martin Prikryl 8 years ago
parent
commit
5cf7240f35
1 changed files with 0 additions and 6 deletions
  1. 0 6
      source/core/WebDAVFileSystem.cpp

+ 0 - 6
source/core/WebDAVFileSystem.cpp

@@ -1667,12 +1667,6 @@ void __fastcall TWebDAVFileSystem::Sink(
     ConfirmOverwrite(FileName, DestFileName, OperationProgress, &FileParams, CopyParam, Params);
   }
 
-  UnicodeString FilePath = ::UnixExtractFilePath(FileName);
-  if (FilePath.IsEmpty())
-  {
-    FilePath = L"/";
-  }
-
   UnicodeString ExpandedDestFullName = ExpandUNCFileName(DestFullName);
   Action.Destination(ExpandedDestFullName);