[Zlib-devel] Spurious var assignment in inftrees.c

Cosmin Truta cosmin at cs.toronto.edu
Sun Mar 7 18:23:19 EST 2004


Hi,

My compiler barfs at line 306 in inftrees.c, about a spurious
assignment. The fix, related to zlib-1.2.1.1, is provided below.

Best regards,
Cosmin


--- inftrees.c~ Fri Jan 09 06:11:20 2004
+++ inftrees.c  Wed Feb 25 01:11:00 2004
@@ -303,7 +303,6 @@
             drop = 0;
             len = root;
             next = *table;
-            curr = root;
             this.bits = (unsigned char)len;
         }




More information about the Zlib-devel mailing list