From a83ed55f1e3e20f73d01489c18889bb8554593ce Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 21 Feb 2013 10:44:53 -0300 Subject: added 'return' (when possible) to calls to error functions --- lcorolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lcorolib.c') diff --git a/lcorolib.c b/lcorolib.c index d5552047..cd7e4e1e 100644 --- a/lcorolib.c +++ b/lcorolib.c @@ -1,5 +1,5 @@ /* -** $Id: lcorolib.c,v 1.3 2011/08/23 17:24:34 roberto Exp roberto $ +** $Id: lcorolib.c,v 1.4 2012/04/27 18:59:04 roberto Exp roberto $ ** Coroutine Library ** See Copyright Notice in lua.h */ @@ -73,7 +73,7 @@ static int luaB_auxwrap (lua_State *L) { lua_insert(L, -2); lua_concat(L, 2); } - lua_error(L); /* propagate error */ + return lua_error(L); /* propagate error */ } return r; } -- cgit v1.2.3-55-g6feb