]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3: fix compiler warning variable set but not used
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 21 Feb 2022 17:38:29 +0000 (18:38 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 21 Feb 2022 17:46:58 +0000 (18:46 +0100)
commitff191de1ca0102f1e1926ba261fb99d96d304cb7
tree579b70c62f31a7e4bda9acff16630e80e4aedb0a
parentd1c76f24fdf1cfb85e574cb1ef0c773b74bee32a
MINOR: h3: fix compiler warning variable set but not used

Some variables were only checked via BUG_ON macro. If compiling without
DEBUG_STRICT, this instruction is a noop. Fix this by using an explicit
condition + ABORT_NOW.

This should fix the github issue #1549.
src/h3.c