]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix compile errors in trees.c after style cleanup 37/head
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Mon, 25 May 2015 21:17:58 +0000 (23:17 +0200)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Mon, 25 May 2015 21:17:58 +0000 (23:17 +0200)
trees.c

diff --git a/trees.c b/trees.c
index 8008e2ad9322128dc7dc14ab1d133f31ba12b955..c688ed5eca4de40c40d55077c1b3d0685fa2d066 100644 (file)
--- a/trees.c
+++ b/trees.c
@@ -356,7 +356,7 @@ local void init_block(deflate_state *s) {
  * the subtrees have equal frequency. This minimizes the worst case length.
  */
 #define smaller(tree, n, m, depth) \
-    (tree[n].Freq < tree[m].Freq ||
+    (tree[n].Freq < tree[m].Freq || \
     (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m]))
 
 /* ===========================================================================
@@ -680,7 +680,7 @@ local void send_tree(deflate_state *s, ct_data *tree, int max_code) {
     int min_count = 4;         /* min repeat count */
 
     /* tree[max_code+1].Len = -1; */  /* guard already set */
-    if (nextlen == 0) {
+    if (nextlen == 0)
         max_count = 138, min_count = 3;
 
     for (n = 0; n <= max_code; n++) {