From 322e76af3761b3179f7dbeb948d8b8a12b319d37 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Mon, 28 Sep 2020 10:00:18 +0200 Subject: [PATCH] svb-records: Initialize d_port Should fix 6 coverity warnings. --- pdns/svc-records.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.47.2