diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:03:14 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:03:14 -0700 |
commit | 4ca984fb447ac57120c394cf2fbba23837ed31c2 (patch) | |
tree | 3525a9d186dbb328209747e2d57cb9642ebca0fd /inftrees.c | |
parent | 913afb9174bb474104049906c1382dec81826424 (diff) | |
download | zlib-0.8.tar.gz zlib-0.8.tar.bz2 zlib-0.8.zip |
zlib 0.8v0.8
Diffstat (limited to '')
-rw-r--r-- | inftrees.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -383,6 +383,7 @@ uInt s; /* size of item */ | |||
383 | { | 383 | { |
384 | Assert(s == sizeof(inflate_huft) && n <= fixed_left, | 384 | Assert(s == sizeof(inflate_huft) && n <= fixed_left, |
385 | "inflate_trees falloc overflow"); | 385 | "inflate_trees falloc overflow"); |
386 | if (q) s++; /* to make some compilers happy */ | ||
386 | fixed_left -= n; | 387 | fixed_left -= n; |
387 | return (voidp)(fixed_mem + fixed_left); | 388 | return (voidp)(fixed_mem + fixed_left); |
388 | } | 389 | } |
@@ -393,6 +394,7 @@ voidp q; | |||
393 | voidp p; | 394 | voidp p; |
394 | { | 395 | { |
395 | Assert(0, "inflate_trees ffree called!"); | 396 | Assert(0, "inflate_trees ffree called!"); |
397 | if (q) q = p; /* to make some compilers happy */ | ||
396 | } | 398 | } |
397 | 399 | ||
398 | 400 | ||