From 03b1d6b74d13dd51a53d2531becb4137b96fa1ed Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Sun, 27 May 2012 09:39:31 +0000 Subject: A few things MSVC's analyzer found. --- zlib/trees.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zlib/trees.c') diff --git a/zlib/trees.c b/zlib/trees.c index 26f3cf1..e968035 100644 --- a/zlib/trees.c +++ b/zlib/trees.c @@ -535,6 +535,7 @@ local void gen_bitlen(s, desc) /* Find the first bit length which could increase: */ do { bits = max_length-1; +#pragma warning(suppress: 6385) while (s->bl_count[bits] == 0) bits--; s->bl_count[bits]--; /* move one leaf down the tree */ s->bl_count[bits+1] += 2; /* move one overflow item as its brother */ @@ -551,6 +552,7 @@ local void gen_bitlen(s, desc) * from 'ar' written by Haruhiko Okumura.) */ for (bits = max_length; bits != 0; bits--) { +#pragma warning(suppress: 6385) n = s->bl_count[bits]; while (n != 0) { m = s->heap[--h]; -- cgit v1.1