You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2009/01/04 14:11:04 UTC

svn commit: r731251 - /httpd/httpd/trunk/modules/arch/unix/mod_privileges.c

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;