Skip to content

Commit

Permalink
Merge pull request #2265 from ahcorde/ahcorde/rolling/warning_unused_var
Browse files Browse the repository at this point in the history
iox-#2266 Removed warning set but not used
  • Loading branch information
elBoberido authored Apr 19, 2024
2 parents 54f5447 + 13a38b5 commit 63db532
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 63db532

Please sign in to comment.