Преглед изворни кода

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