diff options
author | daurnimator <quae@daurnimator.com> | 2019-06-12 16:34:14 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2019-06-12 16:34:14 +1000 |
commit | 6680f22205e981d2d43141facf600a31a3f278f4 (patch) | |
tree | d1d98df16c563f65ad56aa0cdc5f5abb7c23f510 | |
parent | ba1d0180602b217e0b6f894581aeb2398f492188 (diff) | |
download | luaossl-6680f22205e981d2d43141facf600a31a3f278f4.tar.gz luaossl-6680f22205e981d2d43141facf600a31a3f278f4.tar.bz2 luaossl-6680f22205e981d2d43141facf600a31a3f278f4.zip |
src/openssl.c: remove some unused variables
-rw-r--r-- | src/openssl.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/openssl.c b/src/openssl.c index 0e74985..790b153 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -9972,7 +9972,6 @@ static int sx_custom_ext_add_cb(SSL *s, unsigned int ext_type, { SSL_CTX *ctx = SSL_get_SSL_CTX(s); lua_State *L = NULL; - int otop, status; *al = SSL_AD_INTERNAL_ERROR; @@ -9998,7 +9997,7 @@ static int sx_custom_ext_add_cb(SSL *s, unsigned int ext_type, lua_pushnil(L); /* call protected helper */ - if (LUA_OK != (status = lua_pcall(L, 6, 2, 0))) + if (LUA_OK != lua_pcall(L, 6, 2, 0)) /* leave error on the stack */ return -1; @@ -10088,8 +10087,6 @@ static int sx_custom_ext_parse_cb(SSL *s, unsigned int ext_type, { SSL_CTX *ctx = SSL_get_SSL_CTX(s); lua_State *L = NULL; - size_t n; - int otop, status; *al = SSL_AD_INTERNAL_ERROR; @@ -10120,7 +10117,7 @@ static int sx_custom_ext_parse_cb(SSL *s, unsigned int ext_type, lua_pushinteger(L, inlen); /* call protected helper */ - if (LUA_OK != (status = lua_pcall(L, 8, 2, 0))) { + if (LUA_OK != lua_pcall(L, 8, 2, 0)) { lua_pop(L, 1); return -1; } |