From 32850ee59cdfd6e35b6ca64367c5f6e05fbac8d2 Mon Sep 17 00:00:00 2001 From: Nils Goroll Date: Wed, 17 Jul 2024 13:22:27 +0200 Subject: [PATCH] cache_fetch: remove superfluous assignment oc already gets assigned at the top of the function. Ref b6d1f73b232133c6d4731644e6d2d606ea3a17f2 --- bin/varnishd/cache/cache_fetch.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c index 914ce80104c..34fbb3ae45a 100644 --- a/bin/varnishd/cache/cache_fetch.c +++ b/bin/varnishd/cache/cache_fetch.c @@ -597,7 +597,6 @@ vbf_stp_fetchbody(struct worker *wrk, struct busyobj *bo) } AZ(vfc->failed); l = est; - oc = bo->fetch_objcore; if (oc->boc->transit_buffer > 0) l = vmin_t(ssize_t, l, oc->boc->transit_buffer); assert(l >= 0);