Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c87312
)
Silenced a couple compiler warnings.
author
Wayne Davison
<wayned@samba.org>
Thu, 21 Aug 2003 23:28:24 +0000
(23:28 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 21 Aug 2003 23:28:24 +0000
(23:28 +0000)
zlib/inftrees.c
patch
|
blob
|
blame
|
history
diff --git
a/zlib/inftrees.c
b/zlib/inftrees.c
index
4c32ca3
..
a4d86a8
100644
(file)
--- a/
zlib/inftrees.c
+++ b/
zlib/inftrees.c
@@
-213,7
+213,7
@@
uIntf *v; /* working area: values in order of bit length */
/* compute minimum size table less than or equal to l bits */
z = g - w;
/* compute minimum size table less than or equal to l bits */
z = g - w;
- z = z > (uInt)l ?
l : z;
/* table size upper limit */
+ z = z > (uInt)l ?
(uInt)l : z;
/* table size upper limit */
if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */
{ /* too few codes for k-w bit table */
f -= a + 1; /* deduct codes from patterns left */
if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */
{ /* too few codes for k-w bit table */
f -= a + 1; /* deduct codes from patterns left */
@@
-400,7
+400,7
@@
uIntf *bl; /* literal desired/actual bit depth */
uIntf *bd; /* distance desired/actual bit depth */
inflate_huft * FAR *tl; /* literal/length tree result */
inflate_huft * FAR *td; /* distance tree result */
uIntf *bd; /* distance desired/actual bit depth */
inflate_huft * FAR *tl; /* literal/length tree result */
inflate_huft * FAR *td; /* distance tree result */
-
z_streamp z;
/* for memory allocation */
+
UNUSED(z_streamp z);
/* for memory allocation */
{
#ifdef BUILDFIXED
/* build fixed tables if not already */
{
#ifdef BUILDFIXED
/* build fixed tables if not already */