From 3dfd86062b9edf30f48701413ade565d67d3c1bb Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Thu, 11 Jun 2026 11:47:57 +0200 Subject: [PATCH] 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. --- src/h3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);