diff options
author | daurnimator <quae@daurnimator.com> | 2015-08-09 00:37:33 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2015-12-18 22:28:47 +1100 |
commit | ae502efbb770605babdf3f73aedfc19be42fe426 (patch) | |
tree | fe11997be7f5ee2c1fded7e108da9d6a78028ea9 | |
parent | 9544456b9d2679b02e95ae96646b5d27813944cf (diff) | |
download | luaossl-ae502efbb770605babdf3f73aedfc19be42fe426.tar.gz luaossl-ae502efbb770605babdf3f73aedfc19be42fe426.tar.bz2 luaossl-ae502efbb770605babdf3f73aedfc19be42fe426.zip |
removed unused warning across #if
-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); |