summaryrefslogtreecommitdiff
path: root/ldebug.c
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 /ldebug.c
parentd320c908d0e0cb1daa0d6960190659fa929b7ae0 (diff)
downloadlua-github-427e01eb63079e8cf3a41ec03e7aad7d79fc6406.tar.gz
removed useless initialization
Diffstat (limited to 'ldebug.c')
-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 @@
/*
-** $Id: ldebug.c,v 2.60 2009/12/01 16:31:04 roberto Exp roberto $
+** $Id: ldebug.c,v 2.61 2010/01/06 14:42:35 roberto Exp roberto $
** Debug Interface
** See Copyright Notice in lua.h
*/
@@ -363,7 +363,7 @@ static const char *getobjname (lua_State *L, CallInfo *ci, int reg,
static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name) {
- TMS tm = 0;
+ TMS tm;
Instruction i;
if ((ci->callstatus & CIST_TAIL) || !isLua(ci->previous))
return NULL; /* calling function is not Lua (or is unknown) */