]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Silence compiler warning about unused variable cfg.
authorRainer Jung <rjung@apache.org>
Sun, 4 Jan 2009 13:11:04 +0000 (13:11 +0000)
committerRainer Jung <rjung@apache.org>
Sun, 4 Jan 2009 13:11:04 +0000 (13:11 +0000)
dtrace_enabled is static, so no need for using
the configuration at the moment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@731251 13f79535-47bb-0310-9956-ffa450edef68

modules/arch/unix/mod_privileges.c

index f1b52d8b7ad892bd500dbc4f12303331d278d8e9..db1e3fe59de8bd705652f90e1b1e79ae4ca2103c 100644 (file)
@@ -349,8 +349,6 @@ static const char *vhost_cgimode(cmd_parms *cmd, void *dir, const char *arg)
 }
 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;