[master] 0c0bfc526 Silence Flexelint
Nils Goroll
nils.goroll at uplex.de
Mon Sep 30 14:53:05 UTC 2024
commit 0c0bfc5263a32ced1607a36103c9385d017f63d2
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Sep 30 16:51:52 2024 +0200
Silence Flexelint
Ref 00b190a0aed482a638fdb9f1207598cca3db6c27
diff --git a/bin/varnishd/cache/cache_vrt_filter.c b/bin/varnishd/cache/cache_vrt_filter.c
index 707533eea..6bf1ba06e 100644
--- a/bin/varnishd/cache/cache_vrt_filter.c
+++ b/bin/varnishd/cache/cache_vrt_filter.c
@@ -459,6 +459,8 @@ req_filter_can(struct req *req) {
/*--------------------------------------------------------------------*/
+//lint -emacro(506, FILTER_VAR) constant value boolean
+//lint -emacro(774, FILTER_VAR) if always evaluates to false
#define FILTER_VAR(vcl, in, func, cond, fld) \
VCL_STRING \
VRT_r_##vcl##_filters(VRT_CTX) \
More information about the varnish-commit
mailing list