aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2015-08-09 00:37:33 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2015-12-18 22:28:47 +1100
commitae502efbb770605babdf3f73aedfc19be42fe426 (patch)
treefe11997be7f5ee2c1fded7e108da9d6a78028ea9
parent9544456b9d2679b02e95ae96646b5d27813944cf (diff)
downloadluaossl-ae502efbb770605babdf3f73aedfc19be42fe426.tar.gz
luaossl-ae502efbb770605babdf3f73aedfc19be42fe426.tar.bz2
luaossl-ae502efbb770605babdf3f73aedfc19be42fe426.zip
removed unused warning across #if
-rw-r--r--src/openssl.c1
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) {
* Instead, we'll install our own panic handlers.
*/
#if defined LUA_RIDX_MAINTHREAD
+ (void)thr;
lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_MAINTHREAD);
state->L = lua_tothread(L, -1);
lua_pop(L, 1);