Skip to content

Commit 1625ae1

Browse files
mhdawsontargos
authored andcommitted
quic: address recent coverity warning
Address coverity warning about uninitialized value Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #47753 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d358317 commit 1625ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/quic/data.h

+1-1
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)