[master] 44536a5 Tell FlexeLint that Colin knew what he was doing with those zeros.
Poul-Henning Kamp
phk at FreeBSD.org
Mon Apr 24 23:58:06 CEST 2017
commit 44536a5ac96991b96c8841605124cc07474bd824
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Apr 24 21:16:17 2017 +0000
Tell FlexeLint that Colin knew what he was doing with those zeros.
diff --git a/lib/libvarnish/flint.lnt b/lib/libvarnish/flint.lnt
index f5e545e..5755730 100644
--- a/lib/libvarnish/flint.lnt
+++ b/lib/libvarnish/flint.lnt
@@ -47,6 +47,9 @@
-emacro(506, assert) // constant value boolean
-emacro(774, HTTPH) // always false
+-efunc(835, SHA256_Transform) // A zero has been given as ___ argument to operator '___'
+-efunc(778, SHA256_Transform) // Constant expression evaluates to 0 in operation '___'
+
// cache.h
-emacro(506, INCOMPL) // Constant value Boolean
More information about the varnish-commit
mailing list