No need for L argument to lj_str_initbuf().

This commit is contained in:
Mike Pall
2011-06-12 21:09:20 +02:00
parent 287de611a2
commit 0c8696dfbf
4 changed files with 4 additions and 4 deletions

View File

@@ -203,7 +203,7 @@ LUA_API lua_State *lua_newstate(lua_Alloc f, void *ud)
setnilV(&g->nilnode.val);
setnilV(&g->nilnode.key);
setmref(g->nilnode.freetop, &g->nilnode);
lj_str_initbuf(L, &g->tmpbuf);
lj_str_initbuf(&g->tmpbuf);
g->gc.state = GCSpause;
setgcref(g->gc.root, obj2gco(L));
setmref(g->gc.sweep, &g->gc.root);