[6.0] 021388ce3 Disable FlexeLint message 850, we think we know what we're doing in our loops.

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 16 08:53:09 UTC 2018


commit 021388ce378830f7f446e4dfe6bf9ca46542dccc
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 99dfe625c..a6c0737e4 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