Skip to content

Commit

Permalink
cache_fetch: remove superfluous assignment
Browse files Browse the repository at this point in the history
oc already gets assigned at the top of the function.

Ref b6d1f73
  • Loading branch information
nigoroll committed Jul 17, 2024
1 parent fc2445b commit 32850ee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/varnishd/cache/cache_fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 32850ee

Please sign in to comment.