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);