]> git.ipfire.org Git - thirdparty/suricata.git/commit
lua/bytevarlib: return luaL_error to suppress warning
authorJason Ish <jason.ish@oisf.net>
Mon, 21 Jul 2025 20:50:20 +0000 (14:50 -0600)
committerJason Ish <jason.ish@oisf.net>
Fri, 1 Aug 2025 16:54:17 +0000 (10:54 -0600)
commit81e7316616d130d4ef0c7c84d7c6f9b2157692de
treee2e37c7b0ab531003f11ee31e22b0d324cb64604
parent0e80aca3c3c70c12490d3fff9c33aacfba40f27f
lua/bytevarlib: return luaL_error to suppress warning

Even though luaL_error never returns, use a return to make it
clear. Also prevents a compiler warning about idx being used
uninitialized.
src/util-lua-bytevarlib.c