diff options
| -rw-r--r-- | ldebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldebug.c,v 2.60 2009/12/01 16:31:04 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.61 2010/01/06 14:42:35 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 | */ |
| @@ -363,7 +363,7 @@ static const char *getobjname (lua_State *L, CallInfo *ci, int reg, | |||
| 363 | 363 | ||
| 364 | 364 | ||
| 365 | static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name) { | 365 | static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name) { |
| 366 | TMS tm = 0; | 366 | TMS tm; |
| 367 | Instruction i; | 367 | Instruction i; |
| 368 | if ((ci->callstatus & CIST_TAIL) || !isLua(ci->previous)) | 368 | if ((ci->callstatus & CIST_TAIL) || !isLua(ci->previous)) |
| 369 | return NULL; /* calling function is not Lua (or is unknown) */ | 369 | return NULL; /* calling function is not Lua (or is unknown) */ |
