]> granicus.if.org Git - apache/commitdiff
Silence compiler warning:
authorRainer Jung <rjung@apache.org>
Tue, 19 Jan 2016 11:24:17 +0000 (11:24 +0000)
committerRainer Jung <rjung@apache.org>
Tue, 19 Jan 2016 11:24:17 +0000 (11:24 +0000)
variable 'bucket_alloc' set but not used

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725470 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/motorz/motorz.c

index b58f74db4dc879e5a28557acfbe448c880aea3f8..f7a7f1c2b7f2529291c02e8b222d7dc18a87d672 100644 (file)
@@ -848,7 +848,6 @@ static void child_main(motorz_core_t *mz, int child_num_arg, int child_bucket)
     int i;
     ap_listen_rec *lr;
     ap_sb_handle_t *sbh;
-    apr_bucket_alloc_t *bucket_alloc;
     const char *lockfile;
 
     mpm_state = AP_MPMQ_STARTING; /* for benefit of any hooks that run as this
@@ -969,8 +968,6 @@ static void child_main(motorz_core_t *mz, int child_num_arg, int child_bucket)
 
     mpm_state = AP_MPMQ_RUNNING;
 
-    bucket_alloc = apr_bucket_alloc_create(pchild);
-
     /* die_now is set when AP_SIG_GRACEFUL is received in the child;
      * shutdown_pending is set when SIGTERM is received when running
      * in single process mode.  */