diff --git a/roxie/ccd/ccdqueue.cpp b/roxie/ccd/ccdqueue.cpp index f21de204985..153b899b3c7 100644 --- a/roxie/ccd/ccdqueue.cpp +++ b/roxie/ccd/ccdqueue.cpp @@ -2275,7 +2275,7 @@ class DelayedPacketQueue if (tail) { tail->next = newEntry; - for (DelayedPacketEntry *finger = tail; finger != nullptr; finger = finger->prev) + for (DelayedPacketEntry *finger = tail; finger != nullptr;) { if ((int) (finger->waitExpires - expires) <= 0) break;