]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: deviceatlas: add unlikely hints and minor code tidying master
authorDavid Carlier <dcarlier@deviceatlas.com>
Sat, 14 Feb 2026 13:24:07 +0000 (13:24 +0000)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Feb 2026 14:49:00 +0000 (15:49 +0100)
commitcb63e899d906ad04c601ad54a21ee491854c6a79
tree5bbe2247121047f4d78efb094b3464b88e94c672
parent076ec9443c6d3e40f2b428be0e362594feb833ba
CLEANUP: deviceatlas: add unlikely hints and minor code tidying

Add unlikely() hints on error paths in init, conv and fetch functions.
Remove unnecessary zero-initialization of local buffers that are
always written before use. Fix indentation in da_haproxy_checkinst()
and remove unused loop variable initialization.
addons/deviceatlas/da.c