]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4326] Fixed Coverity CID 1232320
authorFrancis Dupont <fdupont@isc.org>
Mon, 14 Mar 2016 18:44:22 +0000 (19:44 +0100)
committerFrancis Dupont <fdupont@isc.org>
Mon, 14 Mar 2016 18:44:22 +0000 (19:44 +0100)
src/bin/d2/tests/d2_queue_mgr_unittests.cc

index f253b85af762772a812b397506281f8e630a433d..d2a4eaf10cbb0cce867688d6c494bc578e5e1f8e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -215,7 +215,8 @@ public:
     std::vector<NameChangeRequestPtr> received_ncrs_;
 
     QueueMgrUDPTest() : io_service_(new isc::asiolink::IOService()),
-        test_timer_(*io_service_) {
+                        test_timer_(*io_service_),
+                        send_result_(NameChangeSender::SUCCESS) {
         isc::asiolink::IOAddress addr(TEST_ADDRESS);
         // Create our sender instance. Note that reuse_address is true.
         sender_.reset(new NameChangeUDPSender(addr, SENDER_PORT,