From 86479c079343dedabf682994c90d9344a8f701c8 Mon Sep 17 00:00:00 2001 From: Florian Reimold <11774314+FlorianReimold@users.noreply.github.com> Date: Thu, 12 Nov 2020 15:52:42 +0100 Subject: [PATCH] Fixed empty parameters on linux --- ecal/core/src/ecal_process.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); } }