]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: qpack: fix unused value when not using DEBUG_HPACK
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 25 Mar 2022 14:11:38 +0000 (15:11 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 25 Mar 2022 14:21:45 +0000 (15:21 +0100)
commit18a10d07b66064f9829a93811338523d13d1e791
treee9aa75874a65b56c97212418d9c052e9adb532ad
parent251eadfce55b8e5d7a2ac2d87d17ba36147cb4ad
BUILD: qpack: fix unused value when not using DEBUG_HPACK

If the macro is not defined, some local variables are flagged as unused
by the compiler. Fix this by using the __maybe_unused attribute.

For now, the macro is defined in the qpack-dec.c. However, this will
change to not mess up the stderr output of haproxy with QUIC traffic.
src/qpack-dec.c