]> granicus.if.org Git - apache/commitdiff
Avoid compiler (gcc-5.3.1) warning on unused variable.
authorYann Ylavic <ylavic@apache.org>
Mon, 29 Feb 2016 21:44:52 +0000 (21:44 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 29 Feb 2016 21:44:52 +0000 (21:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732952 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_worker.c

index 23466e864ff81716ca69ae653e83ce1c1fd3dfce..ca6ce3a2f289e3731b899313b33dfbf865af20b7 100644 (file)
 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);