From d267477c115e50df1a9bf470ccda179161d5d376 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christophe=20Thi=C3=A9ry?= Date: Wed, 9 Nov 2011 20:22:53 +0100 Subject: [PATCH] These function don't return anything --- src/bindings/lua/simgrid_lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bindings/lua/simgrid_lua.c b/src/bindings/lua/simgrid_lua.c index 1cee499512..fdaa403be5 100644 --- a/src/bindings/lua/simgrid_lua.c +++ b/src/bindings/lua/simgrid_lua.c @@ -448,7 +448,7 @@ static int l_host_sleep(lua_State *L) { int time = luaL_checknumber(L, 1); MSG_process_sleep(time); - return 1; + return 0; } /** @@ -462,7 +462,7 @@ static int l_host_destroy(lua_State *L) { m_host_t ht = sglua_checkhost(L, 1); __MSG_host_destroy(ht); - return 1; + return 0; } static const luaL_reg host_functions[] = { -- 2.20.1