plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 995e570976b02ba08f2fc1093a7127ea2acbaff2
parent 00d2ebe90319393a1c1d48e0a2bf1d102384ffe7
Author: Russ Cox <rsc@swtch.com>
Date:   Thu, 30 Apr 2009 07:24:53 -0700

libflate: shut up valgrind

Diffstat:
Msrc/libflate/deflate.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/libflate/deflate.c b/src/libflate/deflate.c @@ -1132,6 +1132,8 @@ mkprecode(Huff *tab, ulong *count, int n, int maxbits, ulong *bitcount) Chain *c; int i, m, em, bits; + memset(&cs, 0, sizeof cs); + /* * set up the sorted list of leaves */