]> git.lizzy.rs Git - zlib.git/commit
Simplify incomplete code table filling in inflate_table().
authorMark Adler <madler@alumni.caltech.edu>
Sun, 6 Nov 2011 23:02:02 +0000 (15:02 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Sun, 27 Nov 2011 22:15:40 +0000 (14:15 -0800)
commit383d2cdab7662d21a3c720139635fe0fbc451a71
tree23a9a814dca02204a1e7493a91e301000d6d7d4a
parent1b57de3aef88bd0a7b80c11db3631281b08b650a
Simplify incomplete code table filling in inflate_table().

Due to earlier changes in the error checking in inflate_table(), the
code to fill in a table for an incomplete code handled cases that can
never actually occur.  This simplifies that code to handle the only
possible case, which is a single empty table entry for a code with
a single symbol with a length of one bit.
inftrees.c