diff options
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 1.135 2003/08/26 12:04:13 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 1.136 2003/11/27 18:05:14 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -328,7 +328,7 @@ static void rehash (lua_State *L, Table *t) { | |||
328 | Table *luaH_new (lua_State *L, int narray, int lnhash) { | 328 | Table *luaH_new (lua_State *L, int narray, int lnhash) { |
329 | Table *t = luaM_new(L, Table); | 329 | Table *t = luaM_new(L, Table); |
330 | luaC_link(L, valtogco(t), LUA_TTABLE); | 330 | luaC_link(L, valtogco(t), LUA_TTABLE); |
331 | t->metatable = hvalue(defaultmeta(L)); | 331 | t->metatable = NULL; |
332 | t->flags = cast(lu_byte, ~0); | 332 | t->flags = cast(lu_byte, ~0); |
333 | /* temporary values (kept only if some malloc fails) */ | 333 | /* temporary values (kept only if some malloc fails) */ |
334 | t->array = NULL; | 334 | t->array = NULL; |