aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2015-12-18 22:30:59 +1100
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2015-12-18 22:30:59 +1100
commit9c3b4678c321ac6370faa9d3c2643dace2eaabf0 (patch)
tree38aa270a561e860371a9360abfb4579ea5c8c42c
parentdd9216f46e2f2a3f55dcf4486db8bb36a4f48fdb (diff)
downloadluaossl-9c3b4678c321ac6370faa9d3c2643dace2eaabf0.tar.gz
luaossl-9c3b4678c321ac6370faa9d3c2643dace2eaabf0.tar.bz2
luaossl-9c3b4678c321ac6370faa9d3c2643dace2eaabf0.zip
Give auxL_getref NOTUSED attribute
-rw-r--r--src/openssl.c2
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) {
*ref = luaL_ref(L, LUA_REGISTRYINDEX);
} /* auxL_ref() */
-static auxtype_t auxL_getref(lua_State *L, auxref_t ref) {
+NOTUSED static auxtype_t auxL_getref(lua_State *L, auxref_t ref) {
if (ref == LUA_NOREF || ref == LUA_REFNIL) {
lua_pushnil(L);
} else {