diff options
-rw-r--r-- | ldebug.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 2.105 2014/11/10 14:46:46 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.106 2014/11/10 18:41:19 roberto Exp roberto $ |
3 | ** Debug Interface | 3 | ** Debug Interface |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -513,7 +513,7 @@ static const char *getupvalname (CallInfo *ci, const TValue *o, | |||
513 | 513 | ||
514 | 514 | ||
515 | static const char *varinfo (lua_State *L, const TValue *o) { | 515 | static const char *varinfo (lua_State *L, const TValue *o) { |
516 | const char *name; | 516 | const char *name = NULL; /* to avoid warnings */ |
517 | CallInfo *ci = L->ci; | 517 | CallInfo *ci = L->ci; |
518 | const char *kind = NULL; | 518 | const char *kind = NULL; |
519 | if (isLua(ci)) { | 519 | if (isLua(ci)) { |
@@ -590,7 +590,7 @@ l_noret luaG_errormsg (lua_State *L) { | |||
590 | if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR); | 590 | if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR); |
591 | setobjs2s(L, L->top, L->top - 1); /* move argument */ | 591 | setobjs2s(L, L->top, L->top - 1); /* move argument */ |
592 | setobjs2s(L, L->top - 1, errfunc); /* push function */ | 592 | setobjs2s(L, L->top - 1, errfunc); /* push function */ |
593 | L->top++; | 593 | L->top++; /* assume EXTRA_STACK */ |
594 | luaD_call(L, L->top - 2, 1, 0); /* call it */ | 594 | luaD_call(L, L->top - 2, 1, 0); /* call it */ |
595 | } | 595 | } |
596 | luaD_throw(L, LUA_ERRRUN); | 596 | luaD_throw(L, LUA_ERRRUN); |