remove unnecessary total_modules calculation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1565711 13f79535-47bb-0310-9956-
ffa450edef68
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;
{
apr_proc_t *procnew = NULL;
const char *userdata_key = "cgid_init";
- module **m;
int ret = OK;
void *data;
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);