]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
fix some warnings (mostly unused variables)
authorJeff Trawick <trawick@apache.org>
Thu, 28 Jun 2001 22:15:53 +0000 (22:15 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 28 Jun 2001 22:15:53 +0000 (22:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89482 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/threaded/threaded.c

index d5f2b52b0c719e4a142fa658e1de2baf5d074c45..0bb76d6fb6b6f5a1e307cf91ab601386fdb97032 100644 (file)
@@ -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");