]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: sample: use __fallthrough in smp_is_rw() and smp_dup()
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Nov 2022 05:59:59 +0000 (06:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Nov 2022 10:14:02 +0000 (11:14 +0100)
commit7ed0597ce893feccc8c2f0513a7a37d258239a93
tree966333288b8184e1e82d8d93aaf4dbeaf9d65462
parent1f344c0f30078daf178b4b17dc642540de4ed6ca
BUILD: sample: use __fallthrough in smp_is_rw() and smp_dup()

This avoids three build warnings when preprocessing happens before compiling
with gcc >= 7.
include/haproxy/sample.h
src/sample.c