[master] c2bc1c31d Coverity polish: 1610758 Unused value

Nils Goroll nils.goroll at uplex.de
Thu Sep 12 09:03:04 UTC 2024


commit c2bc1c31d3ead1099cf24e0cefdc5044215a9ee8
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Sep 12 10:49:34 2024 +0200

    Coverity polish: 1610758 Unused value

diff --git a/bin/varnishd/cache/cache_backend_probe.c b/bin/varnishd/cache/cache_backend_probe.c
index a6a31805e..3b4fa2fa8 100644
--- a/bin/varnishd/cache/cache_backend_probe.c
+++ b/bin/varnishd/cache/cache_backend_probe.c
@@ -520,7 +520,6 @@ vbp_scheduler(struct worker *wrk, void *priv)
 			(void)Lck_CondWaitUntil(&vbp_cond, &vbp_mtx, nxt);
 		} else if (vt->due > now) {
 			nxt = vt->due;
-			vt = NULL;
 			(void)Lck_CondWaitUntil(&vbp_cond, &vbp_mtx, nxt);
 		} else {
 			assert(vt->state == vbp_state_scheduled);


More information about the varnish-commit mailing list