BIND 10 trac2903, updated. 7ba811ceb844372d04d8f0ca62f112a377889ae9 [2903] explicitly initialize a couple of member variables of SyncUDPServer.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Apr 30 17:06:55 UTC 2013
The branch, trac2903 has been updated
via 7ba811ceb844372d04d8f0ca62f112a377889ae9 (commit)
from 7d6c238e01f66ff90e073c458312e732b9ce3f72 (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 7ba811ceb844372d04d8f0ca62f112a377889ae9
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Apr 30 10:05:26 2013 -0700
[2903] explicitly initialize a couple of member variables of SyncUDPServer.
it shouldn't have caused a real trouble because of how they are used,
but style-wise it's cleaner, and it suppresses warning from static analyzers.
-----------------------------------------------------------------------
Summary of changes:
src/lib/asiodns/sync_udp_server.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/asiodns/sync_udp_server.cc b/src/lib/asiodns/sync_udp_server.cc
index aef6416..c511014 100644
--- a/src/lib/asiodns/sync_udp_server.cc
+++ b/src/lib/asiodns/sync_udp_server.cc
@@ -42,7 +42,8 @@ SyncUDPServer::SyncUDPServer(asio::io_service& io_service, const int fd,
const int af, DNSLookup* lookup) :
output_buffer_(new isc::util::OutputBuffer(0)),
query_(new isc::dns::Message(isc::dns::Message::PARSE)),
- udp_endpoint_(sender_), lookup_callback_(lookup), stopped_(false),
+ udp_endpoint_(sender_), lookup_callback_(lookup),
+ resume_called_(false), done_(false), stopped_(false),
recv_callback_(boost::bind(&SyncUDPServer::handleRead, this, _1, _2))
{
if (af != AF_INET && af != AF_INET6) {
More information about the bind10-changes
mailing list