You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2016/02/29 22:44:52 UTC

svn commit: r1732952 - /httpd/httpd/trunk/modules/http2/h2_worker.c

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);