Browse Source

[4326] Fixed Coverity CID 1232320

Francis Dupont 9 years ago
parent
commit
51e03014ac
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/bin/d2/tests/d2_queue_mgr_unittests.cc

+ 3 - 2
src/bin/d2/tests/d2_queue_mgr_unittests.cc

@@ -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
 // 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
 // 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_;
     std::vector<NameChangeRequestPtr> received_ncrs_;
 
 
     QueueMgrUDPTest() : io_service_(new isc::asiolink::IOService()),
     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);
         isc::asiolink::IOAddress addr(TEST_ADDRESS);
         // Create our sender instance. Note that reuse_address is true.
         // Create our sender instance. Note that reuse_address is true.
         sender_.reset(new NameChangeUDPSender(addr, SENDER_PORT,
         sender_.reset(new NameChangeUDPSender(addr, SENDER_PORT,