flexelint b78cb58a

Yes, we do not actually use the mode name, but we still want to have it
for debugging and clarity.

Info 754: local struct member 'vsc_sf_mode::name' (line 57, file
    ../../lib/libvarnishapi/vsc.c) not referenced
parent 31164908
......@@ -152,6 +152,7 @@ vsc_sf_arg(struct vsc *vsc, const char *glob, const struct vsc_sf_mode *mode)
AN(sf);
REPLACE(sf->pattern, glob);
sf->mode = mode;
AN(mode->name);
if (mode->append)
VTAILQ_INSERT_TAIL(&vsc->sf_list, sf, list);
else
......
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