]> granicus.if.org Git - apache/commitdiff
Follow up to r1604336: Comment out hooks whose only references are
authorJeff Trawick <trawick@apache.org>
Sun, 22 Jun 2014 18:14:31 +0000 (18:14 +0000)
committerJeff Trawick <trawick@apache.org>
Sun, 22 Jun 2014 18:14:31 +0000 (18:14 +0000)
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

index d0ffbdb3610d6532ce7cc38e041eb0958d4fcb4d..90f34cda3e82c6c4c187d4e98fb170fdccb36740 100644 (file)
@@ -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)
 {