Skip to content

Commit 8c544c9

Browse files
committed
lua55默认开warn
1 parent 466c4f0 commit 8c544c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rd/lua-patch/bee_newstate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ struct lua_State *bee_lua_newstate() {
6161
lua_State* L = lua_newstate(luaL_alloc, NULL, *(unsigned int*)"Lua\0Lua\0");
6262
if (L) {
6363
lua_atpanic(L, &panic);
64-
lua_setwarnf(L, warnfoff, L);
64+
lua_setwarnf(L, warnfon, L);
6565
}
6666
return L;
6767
}

0 commit comments

Comments
 (0)