httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1732952 - /httpd/httpd/trunk/modules/http2/h2_worker.c
Date Mon, 29 Feb 2016 21:44:52 GMT
Author: ylavic
Date: Mon Feb 29 21:44:52 2016
New Revision: 1732952

URL: http://svn.apache.org/viewvc?rev=1732952&view=rev
Log:
Avoid compiler (gcc-5.3.1) warning on unused variable.

Modified:
    httpd/httpd/trunk/modules/http2/h2_worker.c

Modified: httpd/httpd/trunk/modules/http2/h2_worker.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_worker.c?rev=1732952&r1=1732951&r2=1732952&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_worker.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_worker.c Mon Feb 29 21:44:52 2016
@@ -34,14 +34,13 @@
 static void* APR_THREAD_FUNC execute(apr_thread_t *thread, void *wctx)
 {
     h2_worker *worker = (h2_worker *)wctx;
-    apr_status_t status;
     int sticky;
     
     while (!worker->aborted) {
         h2_task *task;
         
         /* Get a h2_task from the main workers queue. */
-        status = worker->get_next(worker, worker->ctx, &task, &sticky);
+        worker->get_next(worker, worker->ctx, &task, &sticky);
         while (task) {
             h2_task_do(task, worker->io);
             



Mime
View raw message