From 13a38b5dc4cd21f4392ed50297d99bf97f9f8537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Wed, 17 Apr 2024 18:39:37 +0200 Subject: [PATCH] iox-#2266 Removed warning set but not used MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- iceoryx_posh/source/gateway/toml_gateway_config_parser.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/iceoryx_posh/source/gateway/toml_gateway_config_parser.cpp b/iceoryx_posh/source/gateway/toml_gateway_config_parser.cpp index 9df5766b06..8793988a1b 100644 --- a/iceoryx_posh/source/gateway/toml_gateway_config_parser.cpp +++ b/iceoryx_posh/source/gateway/toml_gateway_config_parser.cpp @@ -100,11 +100,8 @@ iox::config::TomlGatewayConfigParser::validate(const cpptoml::table& parsedToml) TomlGatewayConfigParseError::MAXIMUM_NUMBER_OF_ENTRIES_EXCEEDED); } - uint8_t count = 0; for (const auto& service : *serviceArray) { - ++count; - auto serviceName = service->get_as(GATEWAY_CONFIG_SERVICE_NAME); auto instance = service->get_as(GATEWAY_CONFIG_SERVICE_INSTANCE_NAME); auto event = service->get_as(GATEWAY_CONFIG_SERVICE_EVENT_NAME);