mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-11 09:52:56 -04:00
BUILD: h3: fix compilation with USE_TRACE=0
Some checks are pending
Contrib / admin/halog/ (push) Waiting to run
Contrib / dev/flags/ (push) Waiting to run
Contrib / dev/haring/ (push) Waiting to run
Contrib / dev/hpack/ (push) Waiting to run
Contrib / dev/poll/ (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run
Some checks are pending
Contrib / admin/halog/ (push) Waiting to run
Contrib / dev/flags/ (push) Waiting to run
Contrib / dev/haring/ (push) Waiting to run
Contrib / dev/hpack/ (push) Waiting to run
Contrib / dev/poll/ (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run
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.
This commit is contained in:
parent
cc01214a67
commit
3dfd86062b
1 changed files with 2 additions and 1 deletions
3
src/h3.c
3
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue