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

@@ -1133,7 +1133,7 @@ LUA_API int lua_load(lua_State *L, lua_Reader reader, void *data,
ls.rfunc = reader;
ls.rdata = data;
ls.chunkarg = chunkname ? chunkname : "?";
lj_str_initbuf(L, &ls.sb);
lj_str_initbuf(&ls.sb);
status = lj_vm_cpcall(L, NULL, &ls, cpparser);
lj_lex_cleanup(L, &ls);
lj_gc_check(L);