]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1959] Removed unused variable
authorMarcin Siodelski <marcin@isc.org>
Wed, 22 Sep 2021 06:53:59 +0000 (08:53 +0200)
committerMarcin Siodelski <marcin@isc.org>
Wed, 22 Sep 2021 06:53:59 +0000 (08:53 +0200)
src/hooks/dhcp/high_availability/ha_service.cc

index b6b97a6ecc7533cbde07ab9424012c7eba15cb8d..9a15fa2c35cf72062692a306e943f89caf77755c 100644 (file)
@@ -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;
                     }