summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2015-12-18 22:30:59 +1100
committerdaurnimator <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) {
620 *ref = luaL_ref(L, LUA_REGISTRYINDEX); 620 *ref = luaL_ref(L, LUA_REGISTRYINDEX);
621} /* auxL_ref() */ 621} /* auxL_ref() */
622 622
623static auxtype_t auxL_getref(lua_State *L, auxref_t ref) { 623NOTUSED 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 {