]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3031] compilation fix
authorMarcin Godzina <mgodzina@isc.org>
Tue, 29 Aug 2023 09:26:17 +0000 (09:26 +0000)
committerRazvan Becheriu <razvan@isc.org>
Fri, 15 Sep 2023 09:15:03 +0000 (09:15 +0000)
src/lib/cc/tests/stamped_value_unittest.cc
src/lib/dns/tests/rdata_unittest.cc

index 367382524c9a09f8b27aef91485d316ed9ef9812..26c5b1c9b448e5ffc691bcd059033919b7ae1c6b 100644 (file)
@@ -63,7 +63,7 @@ TEST(StampedValueTest, createFromInteger) {
     EXPECT_EQ(Element::integer, value->getType());
     EXPECT_EQ("bar", value->getName());
     EXPECT_EQ("5", value->getValue());
-    int64_t signed_integer;
+    int64_t signed_integer = 0;
     ASSERT_NO_THROW(signed_integer = value->getIntegerValue());
     EXPECT_EQ(5, signed_integer);
 
index e189d0f717c526d5ac6a9b626d145619a3bd36e3..468c3e7fc01cf9b077189a417fbfbb74cfcef22d 100644 (file)
@@ -7,6 +7,7 @@
 #include <config.h>
 
 #include <functional>
+#include <iomanip>
 #include <vector>
 #include <string>
 #include <sstream>