diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-03-18 09:24:38 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-03-18 09:24:38 -0300 |
commit | 2e66248f8a8e8e880d3d2010462bed9403f24f08 (patch) | |
tree | 0dd721d8466a27cf2f4d9a97be1bb5b353fe34bd | |
parent | 79db75101eed604ca4ac62a59aacfcdf664ecbf1 (diff) | |
download | lua-2e66248f8a8e8e880d3d2010462bed9403f24f08.tar.gz lua-2e66248f8a8e8e880d3d2010462bed9403f24f08.tar.bz2 lua-2e66248f8a8e8e880d3d2010462bed9403f24f08.zip |
unused argument
-rw-r--r-- | ldebug.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 1.146 2003/02/27 11:52:30 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.147 2003/02/27 12:32:30 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 | */ |
@@ -158,7 +158,7 @@ LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n) { | |||
158 | } | 158 | } |
159 | 159 | ||
160 | 160 | ||
161 | static void funcinfo (lua_State *L, lua_Debug *ar, StkId func) { | 161 | static void funcinfo (lua_Debug *ar, StkId func) { |
162 | Closure *cl = clvalue(func); | 162 | Closure *cl = clvalue(func); |
163 | if (cl->c.isC) { | 163 | if (cl->c.isC) { |
164 | ar->source = "=[C]"; | 164 | ar->source = "=[C]"; |
@@ -203,7 +203,7 @@ static int getinfo (lua_State *L, const char *what, lua_Debug *ar, | |||
203 | for (; *what; what++) { | 203 | for (; *what; what++) { |
204 | switch (*what) { | 204 | switch (*what) { |
205 | case 'S': { | 205 | case 'S': { |
206 | funcinfo(L, ar, f); | 206 | funcinfo(ar, f); |
207 | break; | 207 | break; |
208 | } | 208 | } |
209 | case 'l': { | 209 | case 'l': { |