corrected

This commit is contained in:
ceriel 1988-06-13 18:01:47 +00:00
parent be8815e2b7
commit adadb10b17

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)];