[master] 1537c213b Quench a flexelint warning.
Poul-Henning Kamp
phk at FreeBSD.org
Thu Feb 4 08:39:06 UTC 2021
commit 1537c213b89abb39c5d332a5508b0e2d349e73a3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Feb 4 08:38:10 2021 +0000
Quench a flexelint warning.
diff --git a/lib/libvcc/vcc_compile.c b/lib/libvcc/vcc_compile.c
index 41277b7f2..cc3803d6b 100644
--- a/lib/libvcc/vcc_compile.c
+++ b/lib/libvcc/vcc_compile.c
@@ -79,6 +79,7 @@ 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) \
More information about the varnish-commit
mailing list