浏览代码

removed useless initialization

Roberto Ierusalimschy 15 年之前
父节点
当前提交
427e01eb63
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ldebug.c

+ 2 - 2
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) */