corrected

This commit is contained in:
ceriel 1988-06-13 18:01:47 +00:00
parent 98eadc151e
commit d6c4d4a6d5

View File

@ -180,8 +180,11 @@ small(fitsmall, gain)
if (bflag) if (bflag)
return(0); return(0);
if (nbits == BITMAX) { if (nbits == BITMAX) {
else if (pass == PASS_1) static int w_given;
if (pass == PASS_1 && ! w_given) {
w_given = 1;
warning("bit table overflow"); warning("bit table overflow");
}
return(0); return(0);
} }
p = &bittab[(int) (nbits>>3)]; p = &bittab[(int) (nbits>>3)];