diff options
author | daurnimator <quae@daurnimator.com> | 2015-12-18 22:30:59 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2015-12-18 22:30:59 +1100 |
commit | 9c3b4678c321ac6370faa9d3c2643dace2eaabf0 (patch) | |
tree | 38aa270a561e860371a9360abfb4579ea5c8c42c | |
parent | dd9216f46e2f2a3f55dcf4486db8bb36a4f48fdb (diff) | |
download | luaossl-9c3b4678c321ac6370faa9d3c2643dace2eaabf0.tar.gz luaossl-9c3b4678c321ac6370faa9d3c2643dace2eaabf0.tar.bz2 luaossl-9c3b4678c321ac6370faa9d3c2643dace2eaabf0.zip |
Give auxL_getref NOTUSED attribute
-rw-r--r-- | src/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl.c b/src/openssl.c index e8ec0f4..93e069f 100644 --- a/src/openssl.c +++ b/src/openssl.c | |||
@@ -620,7 +620,7 @@ static void auxL_ref(lua_State *L, int index, auxref_t *ref) { | |||
620 | *ref = luaL_ref(L, LUA_REGISTRYINDEX); | 620 | *ref = luaL_ref(L, LUA_REGISTRYINDEX); |
621 | } /* auxL_ref() */ | 621 | } /* auxL_ref() */ |
622 | 622 | ||
623 | static auxtype_t auxL_getref(lua_State *L, auxref_t ref) { | 623 | NOTUSED static auxtype_t auxL_getref(lua_State *L, auxref_t ref) { |
624 | if (ref == LUA_NOREF || ref == LUA_REFNIL) { | 624 | if (ref == LUA_NOREF || ref == LUA_REFNIL) { |
625 | lua_pushnil(L); | 625 | lua_pushnil(L); |
626 | } else { | 626 | } else { |