[master] 7fc50c6 Disable FlexeLint message 850, we think we know what we're doing in our loops.

Poul-Henning Kamp phk at FreeBSD.org
Wed Jun 6 16:52:24 UTC 2018


commit 7fc50c64fc974d030c972ed5fd8315c4b1ab0b83
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jun 6 16:50:21 2018 +0000

    Disable FlexeLint message 850, we think we know what we're doing
    in our loops.

diff --git a/flint.lnt b/flint.lnt
index 99dfe62..a6c0737 100644
--- a/flint.lnt
+++ b/flint.lnt
@@ -49,6 +49,8 @@
 
 -esym(818, argv)	// Pointer parameter '...' could be declared as pointing to const
 
+-e850		// loop variable modified in loop
+
 /*
  * va_list's are opaque for a reason, but we pretend to FlexeLint that it
  * is just a void*, so it proposes constification, which is not generally OK,


More information about the varnish-commit mailing list