]> git.kaiwu.me - haproxy.git/commit
MINOR: debug: avoid the break in __BUG_ON()
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Aug 2026 07:32:02 +0000 (09:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Aug 2026 15:43:30 +0000 (17:43 +0200)
commit4d67a9e7f0e2781246489b7724e0d379f191340e
tree37ebeb32c5bf3e8ae598827a092d02456e096cf0
parent5960fe1d8e88b1af8cc46aeefcdb86c78b08b070
MINOR: debug: avoid the break in __BUG_ON()

Since the "break" statement irritates gcc, let's resort to the
opposite expression involving a compount expression to declare the
static counter. It seems to be doing the job well, and we're back
to the previous size (-63 kB from original).
include/haproxy/bug.h