mpm_event: Follow up to r1664071: quiet compiler (spurious) warning.
authorYann Ylavic <ylavic@apache.org>
Sun, 7 Jun 2015 18:31:11 +0000 (18:31 +0000)
committerYann Ylavic <ylavic@apache.org>
Sun, 7 Jun 2015 18:31:11 +0000 (18:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1684057 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/event.c

index 63028befb2d466b71c2ecf00d93a53c6f5fd5113..7ba911ef05259c5b1bec95bc95819b6ed6ea5126 100644 (file)
@@ -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: