summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/tests
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2024-03-09 09:17:54 +0100
committerRazvan Becheriu <razvan@isc.org>2024-03-09 21:21:31 +0100
commit4e5f7b427920c53e314152596d1923fd0f334e58 (patch)
tree4864036631d7e18b23eefdb7b9b44b7f9a6ff6f9 /src/lib/dhcpsrv/tests
parent[#3208] clean up code (diff)
downloadkea-4e5f7b427920c53e314152596d1923fd0f334e58.tar.xz
kea-4e5f7b427920c53e314152596d1923fd0f334e58.zip
[#3208] fix Makefile
Diffstat (limited to 'src/lib/dhcpsrv/tests')
-rw-r--r--src/lib/dhcpsrv/tests/memfile_lease_limits_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/tests/memfile_lease_limits_unittest.cc b/src/lib/dhcpsrv/tests/memfile_lease_limits_unittest.cc
index fad53b616b..e36b33b3ab 100644
--- a/src/lib/dhcpsrv/tests/memfile_lease_limits_unittest.cc
+++ b/src/lib/dhcpsrv/tests/memfile_lease_limits_unittest.cc
@@ -353,7 +353,7 @@ TEST_F(ClassLeaseCounterTest, basicCountingTests4) {
// Fetching the count for a non-existent class
// should return 0.
ASSERT_EQ(0, clc_.size());
- size_t count;
+ size_t count = 0;
ASSERT_NO_THROW(count = clc_.getClassCount(melon));
EXPECT_EQ(0, count);