BIND 10 master, updated. 465c3330313daf9f80471056dc41eb53eaaa3531 Fix warnings during compilation
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jul 11 10:53:31 UTC 2013
The branch, master has been updated
via 465c3330313daf9f80471056dc41eb53eaaa3531 (commit)
from 01f159a6b4277ccbbb76b18e1de811a0a71b80cd (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 465c3330313daf9f80471056dc41eb53eaaa3531
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Thu Jul 11 12:22:10 2013 +0200
Fix warnings during compilation
Don't warn about static cast of function pointer print.
-----------------------------------------------------------------------
Summary of changes:
.../auth/tests/datasrc_clients_builder_unittest.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/tests/datasrc_clients_builder_unittest.cc b/src/bin/auth/tests/datasrc_clients_builder_unittest.cc
index 9b41388..16b23dc 100644
--- a/src/bin/auth/tests/datasrc_clients_builder_unittest.cc
+++ b/src/bin/auth/tests/datasrc_clients_builder_unittest.cc
@@ -125,7 +125,8 @@ TEST_F(DataSrcClientsBuilderTest, commandFinished) {
EXPECT_EQ(2, queue_mutex.unlock_count);
// There's one callback in the queue
ASSERT_EQ(1, callback_queue.size());
- EXPECT_EQ(emptyCallsback, callback_queue.front());
+ // Not using EXPECT_EQ, as that produces warning in printing out the result
+ EXPECT_TRUE(emptyCallsback == callback_queue.front());
// And we are woken up.
char c;
int result = recv(read_end, &c, 1, MSG_DONTWAIT);
More information about the bind10-changes
mailing list