Skip to content

Commit 619ac79

Browse files
mhdawsontargos
authored andcommitted
quic: address coverity warning
- initiaze variable in similar way down in other constructors Signed-off-by: Michael Dawson <midawson@redhat.com> PR-URL: #52824 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 2dd8f09 commit 619ac79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/quic/data.cc

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ QuicError::QuicError(const std::string& reason)
169169

170170
QuicError::QuicError(const ngtcp2_ccerr* ptr)
171171
: reason_(reinterpret_cast<const char*>(ptr->reason), ptr->reasonlen),
172+
error_(),
172173
ptr_(ptr) {}
173174

174175
QuicError::QuicError(const ngtcp2_ccerr& error)

0 commit comments

Comments
 (0)