Commit 8249bacb authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Flexelint adjustments



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3481 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 65b19b12
......@@ -69,6 +69,8 @@
-ffc // No automatic custody
-e455 // thread lock
-e458 // unprotected read
-e763 // Redundant declaration for symbol '...' previously declared
-e726 // Extraneous comma ignored
-e728 // Symbol ... not explicitly initialized
......
......@@ -10,25 +10,4 @@ flexelint \
flint.lnt \
*.c \
../../lib/libvarnish/*.c \
../../lib/libvcl/*.c \
> $T 2>&1
for t in Error Warning Info Note
do
sed -n "/$t [0-9][0-9][0-9]:/s/.*\($t [0-9][0-9][0-9]\).*/\1/p" $T
done | awk '
$2 == 830 { next }
$2 == 831 { next }
{
i=$2"_"$1
h[i]++
n++
}
END {
printf "%5d %s\n", n, "Total"
for (i in h)
printf "%5d %s\n", h[i], i
}
' | sort -rn
cat $T
../../lib/libvcl/*.c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment