From: Jeff Trawick Date: Thu, 28 Jun 2001 22:15:53 +0000 (+0000) Subject: fix some warnings (mostly unused variables) X-Git-Tag: 2.0.20~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca71343263abee12f07cea31e92941011c8ae290;p=thirdparty%2Fapache%2Fhttpd.git fix some warnings (mostly unused variables) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89482 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/threaded/threaded.c b/server/mpm/threaded/threaded.c index d5f2b52b0c7..0bb76d6fb6b 100644 --- a/server/mpm/threaded/threaded.c +++ b/server/mpm/threaded/threaded.c @@ -677,7 +677,6 @@ static void *start_threads(void * dummy) int i; int my_child_num = child_num_arg; proc_info *my_info = NULL; - ap_listen_rec *lr; apr_status_t rv; int threads_created = 0; @@ -731,13 +730,13 @@ static void *start_threads(void * dummy) * "life_status" is almost right, but it's in the worker's structure, and * the name could be clearer. gla */ + return NULL; } static void child_main(int child_num_arg) { apr_thread_t **threads; int i; - proc_info *my_info = NULL; ap_listen_rec *lr; apr_status_t rv; thread_starter *ts; @@ -1253,8 +1252,6 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) wake_up_and_die(); if (is_graceful) { - int i, j; - ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, 0, ap_server_conf, "SIGWINCH received. Doing graceful restart");