From 619ac79abbd528c5efa6973748cc7bd880361cd5 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Fri, 3 May 2024 15:47:18 +0000 Subject: [PATCH] quic: address coverity warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - initiaze variable in similar way down in other constructors Signed-off-by: Michael Dawson PR-URL: https://github.com/nodejs/node/pull/52824 Reviewed-By: Yagiz Nizipli Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen --- src/quic/data.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/quic/data.cc b/src/quic/data.cc index 4ae48945928953..e3dd40605228f4 100644 --- a/src/quic/data.cc +++ b/src/quic/data.cc @@ -169,6 +169,7 @@ QuicError::QuicError(const std::string& reason) QuicError::QuicError(const ngtcp2_ccerr* ptr) : reason_(reinterpret_cast(ptr->reason), ptr->reasonlen), + error_(), ptr_(ptr) {} QuicError::QuicError(const ngtcp2_ccerr& error)