gfe-relnote: (n/a) More http2 changes to compile with -Wunused-parameter and -Wsign-compare. No behavior change. Given how many these things exists, this may or may not be enough for quic_client to compile in Envoy. PiperOrigin-RevId: 303231376 Change-Id: I8a73464074fb7f545dd8e038066c63047f81ec7b
diff --git a/http2/hpack/decoder/hpack_string_decoder.h b/http2/hpack/decoder/hpack_string_decoder.h index cd25da4..a28783b 100644 --- a/http2/hpack/decoder/hpack_string_decoder.h +++ b/http2/hpack/decoder/hpack_string_decoder.h
@@ -167,7 +167,7 @@ // Returns true if the listener wants the decoding to continue, and // false otherwise, in which case status set. template <class Listener> - void OnStringStart(Listener* cb, DecodeStatus* status) { + void OnStringStart(Listener* cb, DecodeStatus* /*status*/) { // TODO(vasilvv): fail explicitly in case of truncation. remaining_ = static_cast<size_t>(length_decoder_.value()); // Make callback so consumer knows what is coming.