Commit 6c5148cb authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Minor flexlinting

parent ce562c0a
...@@ -304,8 +304,9 @@ vdir_update_health(VRT_CTX, struct vdir *vd) ...@@ -304,8 +304,9 @@ vdir_update_health(VRT_CTX, struct vdir *vd)
VCL_BACKEND be; VCL_BACKEND be;
unsigned u, nh = 0; unsigned u, nh = 0;
double tw = 0.0; double tw = 0.0;
struct vbitmap *healthy = vd->healthy; struct vbitmap *healthy;
CHECK_OBJ_NOTNULL(vd, VDIR_MAGIC);
healthy = vd->healthy; healthy = vd->healthy;
for (u = 0; u < vd->n_backend; u++) { for (u = 0; u < vd->n_backend; u++) {
be = vd->backend[u]; be = vd->backend[u];
......
...@@ -757,7 +757,7 @@ vmod_shard_resolve(VRT_CTX, VCL_BACKEND dir) ...@@ -757,7 +757,7 @@ vmod_shard_resolve(VRT_CTX, VCL_BACKEND dir)
pp->rampup, pp->healthy)); pp->rampup, pp->healthy));
} }
void v_matchproto_(vdi_list_f) static void v_matchproto_(vdi_list_f)
vmod_shard_list(VRT_CTX, VCL_BACKEND dir, struct vsb *vsb, int pflag, int jflag) vmod_shard_list(VRT_CTX, VCL_BACKEND dir, struct vsb *vsb, int pflag, int jflag)
{ {
struct sharddir *shardd; struct sharddir *shardd;
......
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