Browse Source

Useless code

Source commit: f203ff13e972ea8aed20876e83747a46f6fb7c3b
Martin Prikryl 5 years ago
parent
commit
906b9d56ef
1 changed files with 0 additions and 2 deletions
  1. 0 2
      source/forms/ScpCommander.cpp

+ 0 - 2
source/forms/ScpCommander.cpp

@@ -2652,9 +2652,7 @@ void TScpCommanderForm::LocalLocalCopy(
   TCustomDirView * SourceDirView = DirView(Side);
   UnicodeString DestinationDir = DirView(OtherSide)->PathName;
   FileOperator->Flags = FileOperator->Flags << foMultiDestFiles;
-  FileOperator->OperandFrom->Clear();
   SourceDirView->CreateFileList(OnFocused, true, FileOperator->OperandFrom);
-  FileOperator->OperandTo->Clear();
   for (int Index = 0; Index < FileOperator->OperandFrom->Count; Index++)
   {
     UnicodeString SourcePath = FileOperator->OperandFrom->Strings[Index];