diff options
author | Andrei Pavel <andrei@isc.org> | 2023-06-28 18:46:10 +0200 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2023-06-28 18:46:10 +0200 |
commit | 9cf6db22520c0314031f2279bda71a172ab7732b (patch) | |
tree | 0268ec3564d1c479a1b46ee14e4043d2628f3beb /src/hooks/dhcp/high_availability | |
parent | [#2831] addressed review comments (diff) | |
download | kea-9cf6db22520c0314031f2279bda71a172ab7732b.tar.xz kea-9cf6db22520c0314031f2279bda71a172ab7732b.zip |
[#2831] fix some dead assignments
Diffstat (limited to 'src/hooks/dhcp/high_availability')
-rw-r--r-- | src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc b/src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc index b6e45a81fb..1c91e1c959 100644 --- a/src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc +++ b/src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc @@ -310,11 +310,9 @@ CloseHATest::runPartners(bool const backup /* = true */) { wthread_->clearReady(WatchedThread::TERMINATE); if (accept_partner1 >= 0) { close(accept_partner1); - accept_partner1 = -1; } if (accept_partner2 >= 0) { close(accept_partner2); - accept_partner2 = -1; } for (auto reader : readers) { if (!reader.second) { |