httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r731251 - /httpd/httpd/trunk/modules/arch/unix/mod_privileges.c
Date Sun, 04 Jan 2009 13:11:04 GMT
Author: rjung
Date: Sun Jan  4 05:11:04 2009
New Revision: 731251

URL: http://svn.apache.org/viewvc?rev=731251&view=rev
Log:
Silence compiler warning about unused variable cfg.

dtrace_enabled is static, so no need for using
the configuration at the moment.

Modified:
    httpd/httpd/trunk/modules/arch/unix/mod_privileges.c

Modified: httpd/httpd/trunk/modules/arch/unix/mod_privileges.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/arch/unix/mod_privileges.c?rev=731251&r1=731250&r2=731251&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/arch/unix/mod_privileges.c (original)
+++ httpd/httpd/trunk/modules/arch/unix/mod_privileges.c Sun Jan  4 05:11:04 2009
@@ -349,8 +349,6 @@
 }
 static const char *dtraceenable(cmd_parms *cmd, void *dir, int arg)
 {
-    priv_cfg *cfg = ap_get_module_config(cmd->server->module_config,
-                                         &privileges_module);
     const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
     if (err != NULL) {
         return err;



Mime
View raw message