[master] 65caea99d Silence Flexelint
Poul-Henning Kamp
phk at FreeBSD.org
Wed Apr 26 05:14:08 UTC 2023
commit 65caea99de02019aa86bf99731343e19af25c4c8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Apr 26 05:12:52 2023 +0000
Silence Flexelint
diff --git a/bin/varnishd/flint.lnt b/bin/varnishd/flint.lnt
index c40188132..cc0a3c909 100644
--- a/bin/varnishd/flint.lnt
+++ b/bin/varnishd/flint.lnt
@@ -59,6 +59,7 @@
-esym(768, vrt_ref::*)
-esym(768, vcf_return::name)
-esym(768, VCL_conf::*)
+-esym(768, vdp::priv1)
// FLINT Bug20090910_838
-efunc(838, VRT_purge)
diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 84790e347..08187174e 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -711,11 +711,13 @@ fo.close()
fo = open(join(buildroot, "include/tbl/vcl_context.h"), "w")
file_header(fo)
+fo.write("/*lint -save -e525 -e539 */\n")
for i in returns:
fo.write("\nVCL_CTX(vcl_%s,%s)" % (i[0],i[0].upper()))
fo.write("\nVCL_CTX(backend, TASK_B)")
fo.write("\nVCL_CTX(client, TASK_C)")
fo.write("\nVCL_CTX(housekeeping, TASK_H)")
+fo.write("/*lint -restore */\n")
fo.write("\n")
fo.write("\n#undef VCL_CTX")
fo.write("\n")
More information about the varnish-commit
mailing list