mirror of
https://github.com/boostorg/leaf.git
synced 2026-02-18 02:02:13 +00:00
Bugfix in lua_callback_result.cpp example
This commit is contained in:
@@ -57,7 +57,8 @@ int do_work( lua_State * L )
|
||||
}
|
||||
else
|
||||
{
|
||||
return leaf::new_error(ec1), luaL_error(L,"do_work_error"); // luaL_error does not return (longjmp).
|
||||
(void) leaf::new_error(ec1);
|
||||
return luaL_error(L,"do_work_error"); // luaL_error does not return (longjmp).
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user