summaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-07-11 10:59:03 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-07-11 10:59:03 -0300
commit87be01598bd06ada6acb9389947f427ca80231a5 (patch)
treeb3daedf13f008f8f3d8afcf118c53b91ebf04838 /ldebug.c
parente84b11a4940d418106854184bd8259b9a8ec37da (diff)
downloadlua-github-87be01598bd06ada6acb9389947f427ca80231a5.tar.gz
warnings Visual C
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldebug.c b/ldebug.c
index b53e4969..a89aab8c 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
/*
-** $Id: ldebug.c,v 2.23 2005/06/13 14:39:19 roberto Exp roberto $
+** $Id: ldebug.c,v 2.24 2005/06/28 13:01:31 roberto Exp roberto $
** Debug Interface
** See Copyright Notice in lua.h
*/
@@ -164,7 +164,7 @@ static void funcinfo (lua_Debug *ar, Closure *cl) {
}
-static void info_tailcall (lua_State *L, lua_Debug *ar) {
+static void info_tailcall (lua_Debug *ar) {
ar->name = ar->namewhat = "";
ar->what = "tail";
ar->lastlinedefined = ar->linedefined = ar->currentline = -1;
@@ -194,7 +194,7 @@ static int auxgetinfo (lua_State *L, const char *what, lua_Debug *ar,
Closure *f, CallInfo *ci) {
int status = 1;
if (f == NULL) {
- info_tailcall(L, ar);
+ info_tailcall(ar);
return status;
}
for (; *what; what++) {