From: Pieter Lexis Date: Mon, 28 Sep 2020 08:00:18 +0000 (+0200) Subject: svb-records: Initialize d_port X-Git-Tag: auth-4.4.0-alpha2~70^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9544%2Fhead;p=thirdparty%2Fpdns.git svb-records: Initialize d_port Should fix 6 coverity warnings. --- diff --git a/pdns/svc-records.hh b/pdns/svc-records.hh index 69f8cba43d..d2d4b2b779 100644 --- a/pdns/svc-records.hh +++ b/pdns/svc-records.hh @@ -92,7 +92,7 @@ class SvcParam { std::set d_mandatory; // For mandatory std::vector d_ipHints; // For ipv{6,4}hints std::string d_echconfig; // For echconfig - uint16_t d_port; // For port + uint16_t d_port{0}; // For port static const std::map SvcParams; };