From 303f962ea6bb02979def04530c0749a9f8dd52de Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Sun, 22 Jun 2014 18:14:31 +0000 Subject: [PATCH] Follow up to r1604336: Comment out hooks whose only references are now commented out, fixing a "-Wunused-function" warning git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1604631 13f79535-47bb-0310-9956-ffa450edef68 --- modules/lua/mod_lua.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/lua/mod_lua.c b/modules/lua/mod_lua.c index d0ffbdb361..90f34cda3e 100644 --- a/modules/lua/mod_lua.c +++ b/modules/lua/mod_lua.c @@ -1175,18 +1175,22 @@ static const char *register_filter_function_hook(const char *filter, } return NULL; } +/* disabled (see reference below) static int lua_check_user_id_harness_first(request_rec *r) { return lua_request_rec_hook_harness(r, "check_user_id", AP_LUA_HOOK_FIRST); } +*/ static int lua_check_user_id_harness(request_rec *r) { return lua_request_rec_hook_harness(r, "check_user_id", APR_HOOK_MIDDLE); } +/* disabled (see reference below) static int lua_check_user_id_harness_last(request_rec *r) { return lua_request_rec_hook_harness(r, "check_user_id", AP_LUA_HOOK_LAST); } +*/ static int lua_translate_name_harness_first(request_rec *r) { -- 2.40.0