Commit cf6a766d authored by Francis Dupont's avatar Francis Dupont

[751-compiler-warning-in-ifacemgr-unit-tests] Addressed iface_mgr_unittest.cc warnings

parent e0e0fd46
......@@ -681,7 +681,7 @@ public:
scoped_ptr<NakedIfaceMgr> ifacemgr(new NakedIfaceMgr());
if (use_queue) {
bool queue_enabled;
bool queue_enabled = false;
data::ConstElementPtr config = makeQueueConfig(PacketQueueMgr4::DEFAULT_QUEUE_TYPE4, 500);
ASSERT_NO_THROW(queue_enabled = ifacemgr->configureDHCPPacketQueue(AF_INET, config));
ASSERT_TRUE(queue_enabled);
......@@ -764,7 +764,7 @@ public:
scoped_ptr<NakedIfaceMgr> ifacemgr(new NakedIfaceMgr());
if (use_queue) {
bool queue_enabled;
bool queue_enabled = false;
data::ConstElementPtr config = makeQueueConfig(PacketQueueMgr6::DEFAULT_QUEUE_TYPE6, 500);
ASSERT_NO_THROW(queue_enabled = ifacemgr->configureDHCPPacketQueue(AF_INET6, config));
ASSERT_TRUE(queue_enabled);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment