Commit 30a2df72 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Silence FlexeLint

parent 6cef6e77
......@@ -82,13 +82,15 @@ vcc_vcl_met2c(struct vsb *vsb, unsigned method)
int d = 0;
//lint -e{774} Boolean within 'if' always evaluates to False
#define VCL_MET_MAC(l,U,t,b) \
if (method & VCL_MET_##U) { \
if (d) \
VSB_putc(vsb, '|'); \
VSB_cat(vsb, "VCL_MET_" #U); \
d = 1; \
}
#define VCL_MET_MAC(l,U,t,b) \
do { \
if (method & VCL_MET_##U) { \
if (d) \
VSB_putc(vsb, '|'); \
VSB_cat(vsb, "VCL_MET_" #U); \
d = 1; \
} \
} while (0);
#include "tbl/vcl_returns.h"
AN(d);
}
......
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