Browse Source

L is not unused.

Roberto Ierusalimschy 25 years ago
parent
commit
b691d4344b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      ldebug.c

+ 1 - 2
ldebug.c

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: ldebug.c,v 1.36 2000/08/15 18:28:48 roberto Exp roberto $
+** $Id: ldebug.c,v 1.37 2000/08/28 17:57:04 roberto Exp roberto $
 ** Debug Interface
 ** Debug Interface
 ** See Copyright Notice in lua.h
 ** See Copyright Notice in lua.h
 */
 */
@@ -160,7 +160,6 @@ const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int localnum) {
   const char *name;
   const char *name;
   StkId f = ar->_func;
   StkId f = ar->_func;
   Proto *fp = getluaproto(f);
   Proto *fp = getluaproto(f);
-  UNUSED(L);
   if (!fp) return NULL;  /* `f' is not a Lua function? */
   if (!fp) return NULL;  /* `f' is not a Lua function? */
   name = luaF_getlocalname(fp, localnum, lua_currentpc(f));
   name = luaF_getlocalname(fp, localnum, lua_currentpc(f));
   if (!name || name[0] == '*') return NULL;  /* `*' starts private locals */
   if (!name || name[0] == '*') return NULL;  /* `*' starts private locals */