commit f74b87c3c29fb052adc681317a54dfbe4a5a281b
parent 16001acb15456c832474edc9f0323e0238e28a11
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Wed, 12 Apr 2017 15:55:58 -0300
removed initialization of 'GCestimate' (it is initialized during
a GC cycle, when it start counting)
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lstate.c b/lstate.c
@@ -1,5 +1,5 @@
/*
-** $Id: lstate.c,v 2.135 2017/04/05 16:50:51 roberto Exp $
+** $Id: lstate.c,v 2.136 2017/04/11 19:00:27 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -311,7 +311,6 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
g->mainthread = L;
g->seed = makeseed(L);
g->gcrunning = 0; /* no GC while building state */
- g->GCestimate = 0;
g->strt.size = g->strt.nuse = 0;
g->strt.hash = NULL;
setnilvalue(&g->l_registry);