aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldebug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 56bf6ddb..293138eb 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.36 2000/08/15 18:28:48 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.37 2000/08/28 17:57:04 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*/
@@ -160,7 +160,6 @@ const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int localnum) {
160 const char *name; 160 const char *name;
161 StkId f = ar->_func; 161 StkId f = ar->_func;
162 Proto *fp = getluaproto(f); 162 Proto *fp = getluaproto(f);
163 UNUSED(L);
164 if (!fp) return NULL; /* `f' is not a Lua function? */ 163 if (!fp) return NULL; /* `f' is not a Lua function? */
165 name = luaF_getlocalname(fp, localnum, lua_currentpc(f)); 164 name = luaF_getlocalname(fp, localnum, lua_currentpc(f));
166 if (!name || name[0] == '*') return NULL; /* `*' starts private locals */ 165 if (!name || name[0] == '*') return NULL; /* `*' starts private locals */