From: Rainer Jung Date: Sun, 4 Jan 2009 13:11:04 +0000 (+0000) Subject: Silence compiler warning about unused variable cfg. X-Git-Tag: 2.3.2~227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=391993515f5c9604c94c88536ebcf25839c93a52;p=thirdparty%2Fapache%2Fhttpd.git Silence compiler warning about unused variable cfg. 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 --- diff --git a/modules/arch/unix/mod_privileges.c b/modules/arch/unix/mod_privileges.c index f1b52d8b7ad..db1e3fe59de 100644 --- a/modules/arch/unix/mod_privileges.c +++ b/modules/arch/unix/mod_privileges.c @@ -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;