[master] 454107b GCC doesn't let us assert the lower bound.
Poul-Henning Kamp
phk at FreeBSD.org
Tue Jun 9 23:42:48 CEST 2015
commit 454107b77ea2509c9035d559a37c5fe079a080be
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Jun 9 21:42:29 2015 +0000
GCC doesn't let us assert the lower bound.
diff --git a/bin/varnishd/cache/cache_wrk.c b/bin/varnishd/cache/cache_wrk.c
index 7167303..d9a34a7 100644
--- a/bin/varnishd/cache/cache_wrk.c
+++ b/bin/varnishd/cache/cache_wrk.c
@@ -226,7 +226,7 @@ Pool_Task(struct pool *pp, struct pool_task *task, enum task_how how)
CHECK_OBJ_NOTNULL(pp, POOL_MAGIC);
AN(task);
AN(task->func);
- assert(how >= TASK_QUEUE_BO && how <= TASK_QUEUE_VCA);
+ assert(how <= TASK_QUEUE_VCA);
Lck_Lock(&pp->mtx);
More information about the varnish-commit
mailing list