aboutsummaryrefslogtreecommitdiff
path: root/lref.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-30 11:35:17 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-30 11:35:17 -0300
commitcfba57207660fd27ddac9ea51cdeb263c2d6b418 (patch)
tree3112ff095cd058017823a64dd592649ff750de89 /lref.c
parentaa01d2568dcecf5a12ce2d8f04e969658ea46c89 (diff)
downloadlua-cfba57207660fd27ddac9ea51cdeb263c2d6b418.tar.gz
lua-cfba57207660fd27ddac9ea51cdeb263c2d6b418.tar.bz2
lua-cfba57207660fd27ddac9ea51cdeb263c2d6b418.zip
remove dummy argument in LUA_ASSERT
Diffstat (limited to 'lref.c')
-rw-r--r--lref.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lref.c b/lref.c
index 97072843..cf355d51 100644
--- a/lref.c
+++ b/lref.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lref.c,v 1.13 2000/06/08 17:48:31 roberto Exp roberto $ 2** $Id: lref.c,v 1.14 2000/06/12 13:52:05 roberto Exp roberto $
3** reference mechanism 3** reference mechanism
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -106,12 +106,12 @@ void luaR_invalidaterefs (lua_State *L) {
106 struct Ref *r = &L->refArray[i]; 106 struct Ref *r = &L->refArray[i];
107 if (r->st == HOLD && !ismarked(&r->o)) 107 if (r->st == HOLD && !ismarked(&r->o))
108 r->st = COLLECTED; 108 r->st = COLLECTED;
109 LUA_ASSERT(L, (r->st == LOCK && ismarked(&r->o)) || 109 LUA_ASSERT((r->st == LOCK && ismarked(&r->o)) ||
110 r->st == COLLECTED || 110 r->st == COLLECTED ||
111 r->st == NONEXT || 111 r->st == NONEXT ||
112 (r->st < n && VALIDLINK(L, L->refArray[r->st].st, n)), 112 (r->st < n && VALIDLINK(L, L->refArray[r->st].st, n)),
113 "inconsistent ref table"); 113 "inconsistent ref table");
114 } 114 }
115 LUA_ASSERT(L, VALIDLINK(L, L->refFree, n), "inconsistent ref table"); 115 LUA_ASSERT(VALIDLINK(L, L->refFree, n), "inconsistent ref table");
116} 116}
117 117