[master] c433abf47 Coverity spotted an unused assignment.
Poul-Henning Kamp
phk at FreeBSD.org
Wed May 12 08:21:06 UTC 2021
commit c433abf470f6298b42ddbfcc35d4f948c71a6a38
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed May 12 08:20:20 2021 +0000
Coverity spotted an unused assignment.
diff --git a/bin/varnishd/cache/cache_wrk.c b/bin/varnishd/cache/cache_wrk.c
index 6b4825633..b063dee4c 100644
--- a/bin/varnishd/cache/cache_wrk.c
+++ b/bin/varnishd/cache/cache_wrk.c
@@ -439,7 +439,7 @@ Pool_Work_Thread(struct pool *pp, struct worker *wrk)
tmo = now + 1.;
else
tmo = now + 60.;
- i = Lck_CondWait(&wrk->cond, &pp->mtx, tmo);
+ (void)Lck_CondWait(&wrk->cond, &pp->mtx, tmo);
if (wrk->task->func != NULL) {
/* We have been handed a new task */
tpx = *wrk->task;
More information about the varnish-commit
mailing list