From: Remi Gacogne Date: Wed, 29 May 2019 12:44:35 +0000 (+0200) Subject: dnstcpbench: Initialize the members of BenchQuery X-Git-Tag: dnsdist-1.4.0-beta1~8^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6725244817e560b0326b32544ab09581034ff70d;p=thirdparty%2Fpdns.git dnstcpbench: Initialize the members of BenchQuery No impact except making Coverity happy (CID 1401666). --- diff --git a/pdns/dnstcpbench.cc b/pdns/dnstcpbench.cc index 5f326ede12..c513e98558 100644 --- a/pdns/dnstcpbench.cc +++ b/pdns/dnstcpbench.cc @@ -62,7 +62,7 @@ unsigned int makeUsec(const struct timeval& tv) struct BenchQuery { BenchQuery(const std::string& qname_, uint16_t qtype_) : qname(qname_), qtype(qtype_), udpUsec(0), tcpUsec(0), answerSecond(0) {} - BenchQuery(){} + BenchQuery(): qtype(0), udpUsec(0), tcpUsec(0), answerSecond(0) {} DNSName qname; uint16_t qtype; uint32_t udpUsec, tcpUsec;