diff --git a/ecal/core/src/ecal_process.cpp b/ecal/core/src/ecal_process.cpp index 7955e73f05..ee23c31552 100644 --- a/ecal/core/src/ecal_process.cpp +++ b/ecal/core/src/ecal_process.cpp @@ -967,10 +967,7 @@ namespace eCAL std::string arg; while (std::getline(cmdline_file, arg, '\0')) // the cmdline contains arguments separated by \0 { - if (!arg.empty()) - { - argument_vector.emplace_back(arg); - } + argument_vector.emplace_back(arg); } }