]> git.mxchange.org Git - simgear.git/blobdiff - zlib/infblock.c
Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
[simgear.git] / zlib / infblock.c
index f8940c7fabca7c808551d37879d1b9f2611c845f..f4920faa5ea06bee242cbb36c51e47ae0c82f434 100644 (file)
@@ -345,13 +345,6 @@ int r;
         s->mode = TYPE;
         break;
       }
-      if (k > 7)              /* return unused byte, if any */
-      {
-        Assert(k < 16, "inflate_codes grabbed too many bytes")
-        k -= 8;
-        n++;
-        p--;                    /* can always return one */
-      }
       s->mode = DRY;
     case DRY:
       FLUSH