]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Added initialization to rapid_commit
authorFrancis Dupont <fdupont@isc.org>
Sat, 14 Oct 2017 16:40:24 +0000 (18:40 +0200)
committerFrancis Dupont <fdupont@isc.org>
Sat, 14 Oct 2017 16:40:24 +0000 (18:40 +0200)
src/bin/dhcp6/json_config_parser.cc

index 4a9d3fead9f0d1b5c59f22fc0dd8966f358db91c..f536154c99d2e5532d199b2edaffea665086ebc7 100644 (file)
@@ -246,7 +246,7 @@ public:
             const Subnet6Collection* subnets = (*net)->getAllSubnets();
             if (subnets) {
 
-                bool rapid_commit;
+                bool rapid_commit = false;
 
                 // For each subnet, add it to a list of regular subnets.
                 for (auto subnet = subnets->begin(); subnet != subnets->end(); ++subnet) {