[master] bc723f2dc FlexeLinting

Poul-Henning Kamp phk at FreeBSD.org
Tue Jan 4 07:10:05 UTC 2022


commit bc723f2dc817535473e0a3611a42411c6f0c0ca9
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Jan 4 07:08:57 2022 +0000

    FlexeLinting

diff --git a/bin/varnishd/flint.lnt b/bin/varnishd/flint.lnt
index 910ace52c..65e77d09e 100644
--- a/bin/varnishd/flint.lnt
+++ b/bin/varnishd/flint.lnt
@@ -38,7 +38,12 @@
 -esym(765, CLI_*)
 -esym(759, CLI_*)
 -esym(755, CLI_*)
--"esym(793,significant characters in an external identifier)"
+
+-esym(765, http_IsHdr)
+-esym(759, http_IsHdr)
+-esym(755, http_IsHdr)
+
+// -"esym(793,significant characters in an external identifier)"
 
 // XXX: I think this is a flexelint bug:
 -esym(522, vbit_clr)
diff --git a/bin/varnishd/mgt/mgt_vcc.c b/bin/varnishd/mgt/mgt_vcc.c
index ec9b997b7..9716df6b7 100644
--- a/bin/varnishd/mgt/mgt_vcc.c
+++ b/bin/varnishd/mgt/mgt_vcc.c
@@ -157,7 +157,7 @@ cc_expand(struct vsb *sb, const char *cc_cmd, char exp)
 			case 'D':
 				if (exp == pct)
 					return ("recursive expansion");
-				cc_expand(sb, mgt_cc_cmd_def, pct);
+				AZ(cc_expand(sb, mgt_cc_cmd_def, pct));
 				break;
 			case 'n':
 				AN(getcwd(buf, sizeof buf));


More information about the varnish-commit mailing list