From c89915d3081a0cad1a7bb4c8002955704e6c34ef Mon Sep 17 00:00:00 2001 From: Asra Ali Date: Wed, 7 Oct 2020 10:20:48 -0400 Subject: [PATCH] fix compilation error Signed-off-by: Asra Ali --- test/common/http/http2/hpack_fuzz_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/common/http/http2/hpack_fuzz_test.cc b/test/common/http/http2/hpack_fuzz_test.cc index 0c1657bf8f09..f75807a29898 100644 --- a/test/common/http/http2/hpack_fuzz_test.cc +++ b/test/common/http/http2/hpack_fuzz_test.cc @@ -121,9 +121,9 @@ DEFINE_PROTO_FUZZER(const test::common::http::http2::HpackTestCase& input) { } // Create Deflater and Inflater - nghttp2_hd_deflater* deflater; + nghttp2_hd_deflater* deflater = nullptr; ASSERT(nghttp2_hd_deflate_new(&deflater, kHeaderTableSize) == 0); - nghttp2_hd_inflater* inflater; + nghttp2_hd_inflater* inflater = nullptr; ASSERT(nghttp2_hd_inflate_new(&inflater) == 0); // Encode headers with nghttp2.