]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: debug: make __BUG_ON() use abort_with_line()
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Aug 2026 15:20:21 +0000 (17:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Aug 2026 15:43:30 +0000 (17:43 +0200)
commit2897b2681f2dbf12b04ed36b5d83ffb32972a602
tree381e88c304af368666a31b9a61367e82498598c2
parent577465a5f67834d7da2b8a7e36de58743af72a3e
CLEANUP: debug: make __BUG_ON() use abort_with_line()

ABORT_NOW() with no arg is strictly equivalent to abort_with_line(__LINE__)
so let's do it explicitly, not only it clarifies the code, but it
also reduces the size of the developed macros, which does count,
considering the number of BUG_ON() in the code.
include/haproxy/bug.h