From: William A. Rowe Jr Date: Thu, 29 Sep 2005 06:44:16 +0000 (+0000) Subject: Small fix to remove unused 'rv' variable from the excluded code path X-Git-Tag: 2.0.55~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c828951c786a626044f7a0b0a29811ce593e725;p=thirdparty%2Fapache%2Fhttpd.git Small fix to remove unused 'rv' variable from the excluded code path git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@292397 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 70f74c58237..f5352e70809 100644 --- a/server/core.c +++ b/server/core.c @@ -4485,9 +4485,10 @@ static conn_rec *core_create_conn(apr_pool_t *ptrans, server_rec *server, static int core_pre_connection(conn_rec *c, void *csd) { core_net_rec *net = apr_palloc(c->pool, sizeof(*net)); - apr_status_t rv; #ifdef AP_MPM_DISABLE_NAGLE_ACCEPTED_SOCK + apr_status_t rv; + /* BillS says perhaps this should be moved to the MPMs. Some OSes * allow listening socket attributes to be inherited by the * accept sockets which means this call only needs to be made @@ -4576,7 +4577,8 @@ AP_DECLARE_DATA module core_module = { STANDARD20_MODULE_STUFF, create_core_dir_config, /* create per-directory config structure */ merge_core_dir_configs, /* merge per-directory config structures */ - create_core_server_config, /* create per-server config structure */ + create_core_se + er_config, /* create per-server config structure */ merge_core_server_configs, /* merge per-server config structures */ core_cmds, /* command apr_table_t */ register_hooks /* register hooks */