aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-01-11 15:37:59 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-01-11 15:37:59 -0200
commit427e01eb63079e8cf3a41ec03e7aad7d79fc6406 (patch)
tree8a1ab4cdfc38baac2c580ba406a7c8f6d9c2ffcb
parentd320c908d0e0cb1daa0d6960190659fa929b7ae0 (diff)
downloadlua-427e01eb63079e8cf3a41ec03e7aad7d79fc6406.tar.gz
lua-427e01eb63079e8cf3a41ec03e7aad7d79fc6406.tar.bz2
lua-427e01eb63079e8cf3a41ec03e7aad7d79fc6406.zip
removed useless initialization
-rw-r--r--ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 9b1a303c..d5cdb868 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -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
365static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name) { 365static 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) */