Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
moteus committed Nov 10, 2014
1 parent ea978de commit ad2b09d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/try.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ static int try_check_error(lua_State *L) {
return 0;
}


static int try_error(lua_State *L){
lua_newtable(L);
if(lua_isnil(L, -2)){
Expand Down Expand Up @@ -158,8 +157,7 @@ static int try_protected_k(lua_State *L, int status, lua_KContext ctx){
if(try_check_error(L)) return 2;
}

lua_error(L);
return 0;
return lua_error(L);
}

static int try_protected(lua_State *L){
Expand All @@ -181,7 +179,6 @@ static int try_new_protect(lua_State *L){
return 1;
}


/*-------------------------------------------------------------------------*\
* Init module
\*-------------------------------------------------------------------------*/
Expand Down

0 comments on commit ad2b09d

Please sign in to comment.