From: Yann Ylavic Date: Sun, 7 Jun 2015 18:31:11 +0000 (+0000) Subject: mpm_event: Follow up to r1664071: quiet compiler (spurious) warning. X-Git-Tag: 2.5.0-alpha~3097 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e15d780b5d625d33d28bfaa17290326cf52bdb8;p=apache mpm_event: Follow up to r1664071: quiet compiler (spurious) warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1684057 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 63028befb2..7ba911ef05 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -1680,7 +1680,7 @@ static void process_timeout_queue(struct timeout_queue *q, APR_RING_INIT(&trash, event_conn_state_t, timeout_list); for (qp = q; qp; qp = qp->next) { count = 0; - cs = first = APR_RING_FIRST(&qp->head); + cs = first = last = APR_RING_FIRST(&qp->head); while (cs != APR_RING_SENTINEL(&qp->head, event_conn_state_t, timeout_list) /* Trash the entry if: