diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-30 11:35:17 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-30 11:35:17 -0300 |
commit | cfba57207660fd27ddac9ea51cdeb263c2d6b418 (patch) | |
tree | 3112ff095cd058017823a64dd592649ff750de89 /lgc.c | |
parent | aa01d2568dcecf5a12ce2d8f04e969658ea46c89 (diff) | |
download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |