]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: mux-h1: silence a harmless fallthrough warning
authorWilly Tarreau <w@1wt.eu>
Tue, 27 Jun 2023 14:06:25 +0000 (16:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 27 Jun 2023 14:08:13 +0000 (16:08 +0200)
commite12e202f6abc2f6de68938140326a047632bd702
tree96678cd315dc814e297656af87e13e8b139b7a1a
parent3388b234659aecacfb949e4925ba9461f17916e4
BUILD: mux-h1: silence a harmless fallthrough warning

This warning happened in 2.9-dev with commit 723c73f8a ("MEDIUM: mux-h1:
Split h1_process_mux() to make code more readable"). It's the usual gcc
crap that relies on comments to disable the warning but which drops these
comments between the preprocessor and the compiler, so using any split
build system (distcc, ccache etc) reintroduces the warning. Use the more
reliable and portable __fallthrough instead. No backport needed.
src/mux_h1.c