diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-28 17:22:21 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-28 17:22:21 -0300 |
commit | b691d4344bb67a1a09203466812877595b3bd744 (patch) | |
tree | 9b393b0b3190a3bb46279280004b4568c2e9f959 | |
parent | 9fdf73bc9a6b4c6afbfff1d8181fface6b1c6761 (diff) | |
download | lua-b691d4344bb67a1a09203466812877595b3bd744.tar.gz lua-b691d4344bb67a1a09203466812877595b3bd744.tar.bz2 lua-b691d4344bb67a1a09203466812877595b3bd744.zip |
L is not unused.
-rw-r--r-- | ldebug.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 */ |