diff options
-rw-r--r-- | src/openssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openssl.c b/src/openssl.c index 5a69f99..9c0f852 100644 --- a/src/openssl.c +++ b/src/openssl.c | |||
@@ -1208,6 +1208,7 @@ static void ex_newstate(lua_State *L) { | |||
1208 | * Instead, we'll install our own panic handlers. | 1208 | * Instead, we'll install our own panic handlers. |
1209 | */ | 1209 | */ |
1210 | #if defined LUA_RIDX_MAINTHREAD | 1210 | #if defined LUA_RIDX_MAINTHREAD |
1211 | (void)thr; | ||
1211 | lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_MAINTHREAD); | 1212 | lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_MAINTHREAD); |
1212 | state->L = lua_tothread(L, -1); | 1213 | state->L = lua_tothread(L, -1); |
1213 | lua_pop(L, 1); | 1214 | lua_pop(L, 1); |