diff options
author | Jeff Trawick <trawick@apache.org> | 2014-02-07 16:15:20 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2014-02-07 16:15:20 +0000 |
commit | e451f92748b1039f6280009c7b5fbfbeab7b6d99 (patch) | |
tree | 0559e04e447cdf4807fd135734bec426beb081f6 /modules/generators | |
parent | b1225679551516d5e6d41cec77be982e2bb36805 (diff) | |
download | httpd-e451f92748b1039f6280009c7b5fbfbeab7b6d99.tar.gz |
follow-up to r1096569:
remove unnecessary total_modules calculation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1565711 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators')
-rw-r--r-- | modules/generators/mod_cgid.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index 71e2b32eb1..ee1f243d4b 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -87,7 +87,6 @@ static APR_OPTIONAL_FN_TYPE(ap_ssi_get_tag_and_value) *cgid_pfn_gtv; static APR_OPTIONAL_FN_TYPE(ap_ssi_parse_string) *cgid_pfn_ps; static apr_pool_t *pcgi = NULL; -static int total_modules = 0; static pid_t daemon_pid; static int daemon_should_exit = 0; static server_rec *root_server = NULL; @@ -900,7 +899,6 @@ static int cgid_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, { apr_proc_t *procnew = NULL; const char *userdata_key = "cgid_init"; - module **m; int ret = OK; void *data; @@ -922,9 +920,6 @@ static int cgid_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, if (ap_state_query(AP_SQ_MAIN_STATE) != AP_SQ_MS_CREATE_PRE_CONFIG) { char *tmp_sockname; - total_modules = 0; - for (m = ap_preloaded_modules; *m != NULL; m++) - total_modules++; parent_pid = getpid(); tmp_sockname = ap_runtime_dir_relative(p, sockname); |