]> granicus.if.org Git - apache/commitdiff
Merge r1684057 from trunk:
authorEric Covener <covener@apache.org>
Fri, 19 Jun 2015 12:32:54 +0000 (12:32 +0000)
committerEric Covener <covener@apache.org>
Fri, 19 Jun 2015 12:32:54 +0000 (12:32 +0000)
mpm_event: Follow up to r1664071: quiet compiler (spurious) warning.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1686399 13f79535-47bb-0310-9956-ffa450edef68

STATUS
server/mpm/event/event.c

diff --git a/STATUS b/STATUS
index b892058d0ab506b757477dc9c7fe100e1af2d9fa..543351de9b2e38e40b9aa1eaad53e8ffe163c1fd 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -107,12 +107,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-  *) event: quiet compiler warning (spurious, "'last' may be used
-            uninitialized", though actually it won't).
-     trunk patch: http://svn.apache.org/r1684057
-     2.4.x patch: trunk works (modulo CHANGES)
-     +1: ylavic, jailletc36, ocovener
-
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
 
index 825686cb8031dfd7957b6cdbfb6abd6d42f36542..9d68dd9b3d0051045474192cfe170306fe74b442 100644 (file)
@@ -1447,7 +1447,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: