Skip to content

Commit d900912

Browse files
authored
quic: address recent coverity warning
Address coverity warning about uninitialized value Signed-off-by: Michael Dawson <[email protected]> PR-URL: #47753 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 27467a8 commit d900912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/quic/data.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class QuicError final : public MemoryRetainer {
129129
const uint8_t* reason_c_str() const;
130130

131131
std::string reason_;
132-
ngtcp2_connection_close_error error_;
132+
ngtcp2_connection_close_error error_ = ngtcp2_connection_close_error();
133133
const ngtcp2_connection_close_error* ptr_ = nullptr;
134134
};
135135

0 commit comments

Comments
 (0)