]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: debug: remove the unneeded do { } while (0) on __BUG_ON()
authorWilly Tarreau <w@1wt.eu>
Thu, 13 Aug 2026 14:51:11 +0000 (16:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Aug 2026 15:43:30 +0000 (17:43 +0200)
commit49f863757d5b3ecf027c10ec01a5abce4d51adcc
tree0687b519d71a69fbd27623fb0061849fcd04d853
parent4d67a9e7f0e2781246489b7724e0d379f191340e
CLEANUP: debug: remove the unneeded do { } while (0) on __BUG_ON()

The macro is exclusively called by the _BUG_ON*() macros so it cannot
appear anywhere else, no need to clutter the emitted syntax for nothing,
seeing the output of the preprocessor on these parts is totally scary
already.
include/haproxy/bug.h