diff options
Diffstat (limited to 'apps/plugins')
-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 19fef84a9c..6cb8c0541b 100644 --- a/apps/plugins/lua/loslib.c +++ b/apps/plugins/lua/loslib.c | |||
@@ -173,6 +173,7 @@ static int os_time (lua_State *L) { | |||
173 | 173 | ||
174 | static int os_exit (lua_State *L) { | 174 | static int os_exit (lua_State *L) { |
175 | exit(luaL_optint(L, 1, EXIT_SUCCESS)); | 175 | exit(luaL_optint(L, 1, EXIT_SUCCESS)); |
176 | return EXIT_SUCCESS; /* never reached, surpress warning */ | ||
176 | } | 177 | } |
177 | 178 | ||
178 | static const luaL_Reg syslib[] = { | 179 | static const luaL_Reg syslib[] = { |