]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: hlua: use ASSUME_NONNULL() instead of ALREADY_CHECKED()
authorWilly Tarreau <w@1wt.eu>
Tue, 17 Dec 2024 13:22:13 +0000 (14:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Dec 2024 16:47:57 +0000 (17:47 +0100)
commita4f50c69e48e1e61aa4c81f82bb8aa500cab0c8f
tree639ca459d2ff5ad0afa4e919ced8283ea4248192
parent29b2c5d4d40a437c1c1ed73c92b1c8e13f1dc7c2
CLEANUP: hlua: use ASSUME_NONNULL() instead of ALREADY_CHECKED()

The purpose of the test in hlua_applet_tcp_new() was precisely to
declare non-nullity. Let's just do it using ASSUME_NONNULL() now.
src/hlua.c