From: Jeff Trawick Date: Sun, 22 Jun 2014 18:14:31 +0000 (+0000) Subject: Follow up to r1604336: Comment out hooks whose only references are X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c6a794887c732ecad5ef9f1324798ed3a5c48c3;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/lua/mod_lua.c b/modules/lua/mod_lua.c index d0ffbdb3610..90f34cda3e8 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) {