diff options
Diffstat (limited to 'lauxlib.c')
| -rw-r--r-- | lauxlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1185,7 +1185,7 @@ LUALIB_API lua_State *(luaL_newstate) (void) { | |||
| 1185 | lua_State *L = lua_newstate(luaL_alloc, NULL, luaL_makeseed(NULL)); | 1185 | lua_State *L = lua_newstate(luaL_alloc, NULL, luaL_makeseed(NULL)); |
| 1186 | if (l_likely(L)) { | 1186 | if (l_likely(L)) { |
| 1187 | lua_atpanic(L, &panic); | 1187 | lua_atpanic(L, &panic); |
| 1188 | lua_setwarnf(L, warnfoff, L); /* default is warnings off */ | 1188 | lua_setwarnf(L, warnfon, L); |
| 1189 | } | 1189 | } |
| 1190 | return L; | 1190 | return L; |
| 1191 | } | 1191 | } |
