Commit bac180fc authored by Mark Andrews's avatar Mark Andrews

unlink first

parent 200ccb31
Pipeline #14405 passed with stages
in 1 minute and 11 seconds
......@@ -718,11 +718,12 @@ report(struct summary *summary);
static void
appendtowork(struct workitem *item) {
struct workitem *last = TAIL(work);
struct workitem *last;
if (LINKED(item, link))
UNLINK(work, item, link);
last = TAIL(work);
while (last &&
(item->when.tv_sec < last->when.tv_sec ||
(item->when.tv_sec == last->when.tv_sec &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment