Skip to content

Commit

Permalink
Some correction for empty lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuDutSik committed Oct 6, 2023
1 parent 3b5c953 commit c39d387
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src_basic/Basic_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -474,10 +474,6 @@ std::vector<std::string> ls_operation(std::string const &ThePrefix) {
/*
if (iret != -1) {
std::cerr << "Error in ls_operation\n";
std::cerr << "eOrder=" << eOrder << "\n";
std::cerr << "TmpFile=" << TmpFile << "\n";
std::cerr << "ErrFile=" << ErrFile << "\n";
std::cerr << "ThePrefix=" << ThePrefix << "\n";
std::cerr << "unable to run the process\n";
throw TerminalException{1};
}
Expand Down Expand Up @@ -509,7 +505,8 @@ std::vector<std::string> ls_operation(std::string const &ThePrefix) {
}
std::string eFile;
is >> eFile;
ListFile.push_back(eFile);
if (eFile.size() > 0)
ListFile.push_back(eFile);
}
}

Expand Down

0 comments on commit c39d387

Please sign in to comment.