commit | 69c66e3584ac81b70dd445ff56f8c9815de8f28c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jul 14 19:41:25 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Jul 26 21:04:42 2021 +0200 |
tree | 060c3878d21a19132b948ac0e22caca90e836e75 | |
parent | 08293ed8f964cd2dc3faafbe81562b1eb59187d1 [diff] |
BUILD: lua: silence a build warning with TCC TCC doesn't have the equivalent of __builtin_unreachable() and complains that hlua_panic_ljmp() may return no value. Let's add a return 0 there. All compilers that know that longjmp() doesn't return will see no change and tcc will be happy. (cherry picked from commit 6a510907807b7fb901654b4f5e5100aa91868fb7) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>