Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
This commit is contained in:
parent
226d80b821
commit
cbeb0b26e4
492 changed files with 3218 additions and 3167 deletions
|
|
@ -423,7 +423,7 @@ int BZ_API(BZ2_bzCompress) ( bz_stream *strm, int action )
|
|||
if (s->avail_in_expect != s->strm->avail_in)
|
||||
return BZ_SEQUENCE_ERROR;
|
||||
progress = handle_compress ( strm );
|
||||
if (!progress) return BZ_SEQUENCE_ERROR; //rsc added
|
||||
if (!progress) return BZ_SEQUENCE_ERROR; /*rsc added */
|
||||
if (s->avail_in_expect > 0 || !isempty_RL(s) ||
|
||||
s->state_out_pos < s->numZ) return BZ_FLUSH_OK;
|
||||
s->mode = BZ_M_RUNNING;
|
||||
|
|
|
|||
|
|
@ -268,7 +268,7 @@ void generateMTFValues ( EState* s )
|
|||
if (zPend < 2) break;
|
||||
zPend = (zPend - 2) / 2;
|
||||
};
|
||||
//rsc: not used zPend = 0;
|
||||
/*rsc: not used zPend = 0; */
|
||||
}
|
||||
|
||||
mtfv[wr] = EOB; wr++; s->mtfFreq[EOB]++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue