summaryrefslogtreecommitdiff
path: root/deflate.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2014-03-30 07:48:03 +0000
committerSimon Tatham <anakin@pobox.com>2014-03-30 07:48:03 +0000
commit18e0f32b292316a4db3bb0bde1570a73ee60b0bd (patch)
tree27249b819622429551dc7e7b7627c83464336f41 /deflate.c
parent6154b5b53a342d6cf1aa3fc38e28405975f64e00 (diff)
downloadhalibut-18e0f32b292316a4db3bb0bde1570a73ee60b0bd.zip
halibut-18e0f32b292316a4db3bb0bde1570a73ee60b0bd.tar.gz
halibut-18e0f32b292316a4db3bb0bde1570a73ee60b0bd.tar.bz2
halibut-18e0f32b292316a4db3bb0bde1570a73ee60b0bd.tar.xz
Silence compiler warnings on OS X 10.9.
[originally from svn r10166]
Diffstat (limited to 'deflate.c')
-rw-r--r--deflate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/deflate.c b/deflate.c
index 6bbceae..5eb1faa 100644
--- a/deflate.c
+++ b/deflate.c
@@ -1203,7 +1203,8 @@ static void outblock(deflate_compress_ctx *out,
*/
for (i = 0; i < 19; i++)
codelen[i] = len3[lenlenmap[i]];
- for (hclen = 19; hclen > 4 && codelen[hclen-1] == 0; hclen--);
+ for (hclen = 19; hclen > 4 && codelen[hclen-1] == 0; hclen--)
+ /* empty loop body */;
/*
* Now work out the exact size of both the dynamic and the