From af850484a9e01b46b04e4c666f9a9e91308d81c7 Mon Sep 17 00:00:00 2001
From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 1 Dec 2003 16:22:56 -0200
Subject: default metatable can be NULL

---
 ltable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'ltable.c')

diff --git a/ltable.c b/ltable.c
index 8b55a1f5..ccd333f3 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
 /*
-** $Id: ltable.c,v 1.135 2003/08/26 12:04:13 roberto Exp roberto $
+** $Id: ltable.c,v 1.136 2003/11/27 18:05:14 roberto Exp roberto $
 ** Lua tables (hash)
 ** See Copyright Notice in lua.h
 */
@@ -328,7 +328,7 @@ static void rehash (lua_State *L, Table *t) {
 Table *luaH_new (lua_State *L, int narray, int lnhash) {
   Table *t = luaM_new(L, Table);
   luaC_link(L, valtogco(t), LUA_TTABLE);
-  t->metatable = hvalue(defaultmeta(L));
+  t->metatable = NULL;
   t->flags = cast(lu_byte, ~0);
   /* temporary values (kept only if some malloc fails) */
   t->array = NULL;
-- 
cgit v1.2.3-55-g6feb