Commit 7ba811ce authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[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.
parent 7d6c238e
......@@ -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) {
......
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