BIND 10 trac3251, updated. 9139b19b6220b270e2442731f258ba85c7877526 [3251] Compilation fix for g++ 4.8.1 and gtest 1.7.0
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Dec 17 18:06:20 UTC 2013
The branch, trac3251 has been updated
via 9139b19b6220b270e2442731f258ba85c7877526 (commit)
from 33003d2af6c0410719a68b7525284735df1ed797 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9139b19b6220b270e2442731f258ba85c7877526
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Tue Dec 17 19:05:55 2013 +0100
[3251] Compilation fix for g++ 4.8.1 and gtest 1.7.0
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcp/tests/iface_mgr_unittest.cc | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/tests/iface_mgr_unittest.cc b/src/lib/dhcp/tests/iface_mgr_unittest.cc
index df66e60..83fbe99 100644
--- a/src/lib/dhcp/tests/iface_mgr_unittest.cc
+++ b/src/lib/dhcp/tests/iface_mgr_unittest.cc
@@ -1481,7 +1481,7 @@ TEST_F(IfaceMgrTest, openSockets6LinkLocal) {
ASSERT_NO_THROW(ifacemgr.setPacketFilter(filter));
// Simulate opening sockets using the dummy packet filter.
- bool success;
+ bool success = false;
ASSERT_NO_THROW(success = ifacemgr.openSockets6(DHCP6_SERVER_PORT));
EXPECT_TRUE(success);
@@ -1522,7 +1522,7 @@ TEST_F(IfaceMgrTest, openSockets6Unicast) {
ifacemgr.getIface("eth0")->addUnicast(IOAddress("2001:db8:1::1"));
// Simulate opening sockets using the dummy packet filter.
- bool success;
+ bool success = false;
ASSERT_NO_THROW(success = ifacemgr.openSockets6(DHCP6_SERVER_PORT));
EXPECT_TRUE(success);
@@ -1569,7 +1569,7 @@ TEST_F(IfaceMgrTest, openSockets6IfaceDown) {
ifacemgr.setIfaceFlags("eth0", false, false, false, false, false);
// Simulate opening sockets using the dummy packet filter.
- bool success;
+ bool success = false;
ASSERT_NO_THROW(success = ifacemgr.openSockets6(DHCP6_SERVER_PORT));
EXPECT_TRUE(success);
@@ -1618,7 +1618,7 @@ TEST_F(IfaceMgrTest, openSockets6IfaceInactive) {
ifacemgr.setIfaceFlags("eth1", false, true, true, false, true);
// Simulate opening sockets using the dummy packet filter.
- bool success;
+ bool success = false;
ASSERT_NO_THROW(success = ifacemgr.openSockets6(DHCP6_SERVER_PORT));
EXPECT_TRUE(success);
@@ -1658,7 +1658,7 @@ TEST_F(IfaceMgrTest, openSockets6NoIfaces) {
// This value indicates if at least one socket opens. There are no
// interfaces, so it should be set to false.
- bool socket_open;
+ bool socket_open = false;
ASSERT_NO_THROW(socket_open = ifacemgr.openSockets6(DHCP6_SERVER_PORT));
EXPECT_FALSE(socket_open);
}
More information about the bind10-changes
mailing list