httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1725470 - /httpd/httpd/trunk/server/mpm/motorz/motorz.c
Date Tue, 19 Jan 2016 11:24:17 GMT
Author: rjung
Date: Tue Jan 19 11:24:17 2016
New Revision: 1725470

URL: http://svn.apache.org/viewvc?rev=1725470&view=rev
Log:
Silence compiler warning:
variable 'bucket_alloc' set but not used

Modified:
    httpd/httpd/trunk/server/mpm/motorz/motorz.c

Modified: httpd/httpd/trunk/server/mpm/motorz/motorz.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/motorz/motorz.c?rev=1725470&r1=1725469&r2=1725470&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/motorz/motorz.c (original)
+++ httpd/httpd/trunk/server/mpm/motorz/motorz.c Tue Jan 19 11:24:17 2016
@@ -848,7 +848,6 @@ static void child_main(motorz_core_t *mz
     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
 
     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.  */



Mime
View raw message