From: Amaury Denoyelle Date: Thu, 11 Jun 2026 09:47:57 +0000 (+0200) Subject: BUILD: h3: fix compilation with USE_TRACE=0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3dfd86062b9edf30f48701413ade565d67d3c1bb;p=thirdparty%2Fhaproxy.git BUILD: h3: fix compilation with USE_TRACE=0 Mark argument in h3_trace_header as unused if USE_TRACE is not set. No need to backport unless HTTP/3 header traces are picked. --- diff --git a/src/h3.c b/src/h3.c index 7b469df45..071206b7a 100644 --- a/src/h3.c +++ b/src/h3.c @@ -639,7 +639,8 @@ static void _h3_trace_header(const struct ist n, const struct ist v, const struct qcc *qcc, const struct qcs *qcs) { struct ist n_short, v_short; - const char *c_str, *s_str; + const char *c_str __maybe_unused; + const char *s_str __maybe_unused; chunk_reset(&trash); c_str = chunk_newstr(&trash);