summaryrefslogtreecommitdiff
path: root/lgc.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 /lgc.c
parentaa01d2568dcecf5a12ce2d8f04e969658ea46c89 (diff)
downloadlua-cfba57207660fd27ddac9ea51cdeb263c2d6b418.tar.gz
lua-cfba57207660fd27ddac9ea51cdeb263c2d6b418.tar.bz2
lua-cfba57207660fd27ddac9ea51cdeb263c2d6b418.zip
remove dummy argument in LUA_ASSERT
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lgc.c b/lgc.c
index 3bcfd1b7..7bdc5790 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.c,v 1.57 2000/06/12 13:52:05 roberto Exp roberto $ 2** $Id: lgc.c,v 1.58 2000/06/26 19:28:31 roberto Exp roberto $
3** Garbage Collector 3** Garbage Collector
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -206,7 +206,7 @@ static void collectudatatab (lua_State *L, int all) {
206 TString **p = &L->udt.hash[i]; 206 TString **p = &L->udt.hash[i];
207 TString *next; 207 TString *next;
208 while ((next = *p) != NULL) { 208 while ((next = *p) != NULL) {
209 LUA_ASSERT(L, next->marked <= 1, "udata cannot be fixed"); 209 LUA_ASSERT(next->marked <= 1, "udata cannot be fixed");
210 if (next->marked > all) { /* preserve? */ 210 if (next->marked > all) { /* preserve? */
211 next->marked = 0; 211 next->marked = 0;
212 p = &next->nexthash; 212 p = &next->nexthash;