From 53262b1f1509eca0a5271b91e6e5f024431fcedf Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Wed, 22 Sep 2021 08:53:59 +0200 Subject: [PATCH] [#1959] Removed unused variable --- src/hooks/dhcp/high_availability/ha_service.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/dhcp/high_availability/ha_service.cc b/src/hooks/dhcp/high_availability/ha_service.cc index b6b97a6ecc..9a15fa2c35 100644 --- a/src/hooks/dhcp/high_availability/ha_service.cc +++ b/src/hooks/dhcp/high_availability/ha_service.cc @@ -2239,7 +2239,7 @@ HAService::synchronize(std::string& status_message, const std::string& server_na asyncEnableDHCPService(client, server_name, [&](const bool success, const std::string& error_message, - const int rcode) { + const int) { // It is possible that we have already recorded an error // message while synchronizing the lease database. Don't // override the existing error message. @@ -2272,7 +2272,7 @@ HAService::synchronize(std::string& status_message, const std::string& server_na asyncEnableDHCPService(client, server_name, [&](const bool success, const std::string& error_message, - const int rcode) { + const int) { if (!success && status_message.empty()) { status_message = error_message; } -- 2.47.3