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; };