]> granicus.if.org Git - apache/commitdiff
no need to calculate the config file name in display_info() since we
authorJeff Trawick <trawick@apache.org>
Fri, 2 Mar 2001 21:51:00 +0000 (21:51 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 2 Mar 2001 21:51:00 +0000 (21:51 +0000)
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

modules/generators/mod_info.c

index f01afbbfecc20c40a7ff4aa428a190b1a227425a..eff8abfe93be297fd636660a87979f878daf6598 100644 (file)
@@ -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)
             "<html><head><title>Server Information</title></head>\n", r);
     ap_rputs("<body><h1 align=center>Apache Server Information</h1>\n", r);
     if (!r->args || strcasecmp(r->args, "list")) {
-        cfname = ap_server_root_relative(r->pool, SERVER_CONFIG_FILE);
         if (!r->args) {
             ap_rputs("<tt><a href=\"#server\">Server Settings</a>, ", r);
             for (modp = top_module; modp; modp = modp->next) {