From 2d6fa3a4fdcbc91392a5b5541c0293233c6e41da Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Thu, 27 Apr 2023 17:35:16 -0400 Subject: [PATCH] quic: address recent coverity warning Address coverity warning about uninitialized value Signed-off-by: Michael Dawson --- src/quic/data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quic/data.h b/src/quic/data.h index f6a741922ad6c5..2ccd7d7a8156f2 100644 --- a/src/quic/data.h +++ b/src/quic/data.h @@ -129,7 +129,7 @@ class QuicError final : public MemoryRetainer { const uint8_t* reason_c_str() const; std::string reason_; - ngtcp2_connection_close_error error_; + ngtcp2_connection_close_error error_ = ngtcp2_connection_close_error(); const ngtcp2_connection_close_error* ptr_ = nullptr; };