Commit bbc6e2c6 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Flexelinting

parent 545290b8
......@@ -260,7 +260,7 @@ VSL_Flush(struct vsl_log *vsl, int overflow)
memcpy(p + 2, vsl->wlb, l);
p[1] = l;
VWMB();
p[0] = ((((unsigned)SLT__Batch & 0xff) << 24) | 0);
p[0] = ((((unsigned)SLT__Batch & 0xff) << 24));
vsl->wlp = vsl->wlb;
vsl->wlr = 0;
}
......
......@@ -335,7 +335,7 @@ VRY_Match(struct req *req, const uint8_t *vary)
memcpy(vsp + 2, vary + 2, vary[2] + 2);
if (h != NULL)
memcpy(vsp + 2 + vsp[2] + 2, h, lh);
vsp[ln + 0] = 0xff;
vsp[ln] = 0xff;
vsp[ln + 1] = 0xff;
vsp[ln + 2] = 0;
(void)VRY_Validate(vsp);
......
......@@ -629,6 +629,8 @@ VRT_r_##which##_##fld(VRT_CTX) \
return (d); \
}
/*lint -save -e835 */ // Zero right hand arg to '-'
VRT_DO_EXP_R(obj, ctx->req->objcore, ttl,
ttl_now(ctx) - ctx->req->objcore->t_origin)
VRT_DO_EXP_R(obj, ctx->req->objcore, grace, 0)
......@@ -643,6 +645,8 @@ VRT_DO_EXP_R(beresp, ctx->bo->fetch_objcore, grace, 0)
VRT_DO_EXP_L(beresp, ctx->bo->fetch_objcore, keep, 0)
VRT_DO_EXP_R(beresp, ctx->bo->fetch_objcore, keep, 0)
/*lint -restore */
/*--------------------------------------------------------------------
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment