From: Jeff Trawick Date: Fri, 2 Mar 2001 21:51:00 +0000 (+0000) Subject: no need to calculate the config file name in display_info() since we X-Git-Tag: 2.0.14~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47b18adf09d35d01f22bf951a682460469522e53;p=apache no need to calculate the config file name in display_info() since we don't have to read it PR: 6980 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88431 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_info.c b/modules/generators/mod_info.c index f01afbbfec..eff8abfe93 100644 --- a/modules/generators/mod_info.c +++ b/modules/generators/mod_info.c @@ -269,7 +269,6 @@ static int display_info(request_rec *r) { module *modp = NULL; char buf[MAX_STRING_LEN]; - const char *cfname; const char *more_info; const command_rec *cmd = NULL; #ifdef NEVERMORE @@ -294,7 +293,6 @@ static int display_info(request_rec *r) "Server Information\n", r); ap_rputs("

Apache Server Information

\n", r); if (!r->args || strcasecmp(r->args, "list")) { - cfname = ap_server_root_relative(r->pool, SERVER_CONFIG_FILE); if (!r->args) { ap_rputs("Server Settings, ", r); for (modp = top_module; modp; modp = modp->next) {