summaryrefslogtreecommitdiff
path: root/libs/liblua/src
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-07-10 21:40:09 +0300
committeraunsane <aunsane@gmail.com>2018-07-10 21:43:11 +0300
commitdae1e12d0bc0be3b6c243dc624b30e1ed3b07410 (patch)
tree41fc0b13f2d97b8dcd0c49736250f25546111c35 /libs/liblua/src
parent916d3c8fc91d4290aaf5625db636b6cf102306a6 (diff)
liblua updated to version 5.3.5
Diffstat (limited to 'libs/liblua/src')
-rw-r--r--libs/liblua/src/lstate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/liblua/src/lstate.c b/libs/liblua/src/lstate.c
index 8815afb95f..c1a76643c3 100644
--- a/libs/liblua/src/lstate.c
+++ b/libs/liblua/src/lstate.c
@@ -339,9 +339,6 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
LUA_API void lua_close (lua_State *L) {
- if (!L)
- return;
-
L = G(L)->mainthread; /* only the main thread can be closed */
lua_lock(L);
close_state(L);