Skip to content

Commit

Permalink
Removed warning set but not used
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Apr 17, 2024
1 parent 1983be8 commit ef69360
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions iceoryx_posh/source/gateway/toml_gateway_config_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string>(GATEWAY_CONFIG_SERVICE_NAME);
auto instance = service->get_as<std::string>(GATEWAY_CONFIG_SERVICE_INSTANCE_NAME);
auto event = service->get_as<std::string>(GATEWAY_CONFIG_SERVICE_EVENT_NAME);
Expand Down

0 comments on commit ef69360

Please sign in to comment.