From 4f8bad0c91dd3e8c7a1b738c3b40dd2bcb08e203 Mon Sep 17 00:00:00 2001 From: Peguen <73380451+Peguen@users.noreply.github.com> Date: Thu, 22 Aug 2024 12:56:37 +0200 Subject: [PATCH] [config] Removed quoteStrings and unused variable in config test. (#1718) --- ecal/core/src/config/default_configuration.cpp | 4 ---- ecal/tests/cpp/config_test/src/config_test.cpp | 1 - 2 files changed, 5 deletions(-) diff --git a/ecal/core/src/config/default_configuration.cpp b/ecal/core/src/config/default_configuration.cpp index 1e06681b04..9f7c3fbdd3 100644 --- a/ecal/core/src/config/default_configuration.cpp +++ b/ecal/core/src/config/default_configuration.cpp @@ -7,10 +7,6 @@ namespace { - std::string quoteString(const char* str_) { - return std::string("\"") + std::string(str_) + std::string("\""); - } - std::string quoteString(const std::string& str_) { return std::string("\"") + str_ + std::string("\""); } diff --git a/ecal/tests/cpp/config_test/src/config_test.cpp b/ecal/tests/cpp/config_test/src/config_test.cpp index d0eb4bc55e..da90f6b30a 100644 --- a/ecal/tests/cpp/config_test/src/config_test.cpp +++ b/ecal/tests/cpp/config_test/src/config_test.cpp @@ -53,7 +53,6 @@ TEST(core_cpp_config /*unused*/, user_config_passing /*unused*/) const int upd_snd_buff = (5242880 + 1024); // Monitoring options - const unsigned int mon_timeout = 6000U; const std::string mon_filter_excl = "_A.*"; const eCAL_Logging_Filter mon_log_filter_con = log_level_warning;