From: Yann Ylavic Date: Mon, 29 Feb 2016 21:44:52 +0000 (+0000) Subject: Avoid compiler (gcc-5.3.1) warning on unused variable. X-Git-Tag: 2.5.0-alpha~1995 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9aa8060dac63f46447245319e131249e276db62f;p=thirdparty%2Fapache%2Fhttpd.git Avoid compiler (gcc-5.3.1) warning on unused variable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732952 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/h2_worker.c b/modules/http2/h2_worker.c index 23466e864ff..ca6ce3a2f28 100644 --- a/modules/http2/h2_worker.c +++ b/modules/http2/h2_worker.c @@ -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);