diff options
Diffstat (limited to 'apps/plugins/lua/loslib.c')
| -rw-r--r-- | apps/plugins/lua/loslib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/lua/loslib.c b/apps/plugins/lua/loslib.c index 19fef84..6cb8c05 100644 --- a/apps/plugins/lua/loslib.c +++ b/apps/plugins/lua/loslib.c @@ -173,6 +173,7 @@ static int os_time (lua_State *L) { static int os_exit (lua_State *L) { exit(luaL_optint(L, 1, EXIT_SUCCESS)); + return EXIT_SUCCESS; /* never reached, surpress warning */ } static const luaL_Reg syslib[] = { |