diff options
Diffstat (limited to 'src/cmd/bzip2')
-rw-r--r-- | src/cmd/bzip2/lib/bzcompress.c | 2 | ||||
-rw-r--r-- | src/cmd/bzip2/lib/compress.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/bzip2/lib/bzcompress.c b/src/cmd/bzip2/lib/bzcompress.c index c9369e62..d27e6757 100644 --- a/src/cmd/bzip2/lib/bzcompress.c +++ b/src/cmd/bzip2/lib/bzcompress.c @@ -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; diff --git a/src/cmd/bzip2/lib/compress.c b/src/cmd/bzip2/lib/compress.c index 06251227..96c55918 100644 --- a/src/cmd/bzip2/lib/compress.c +++ b/src/cmd/bzip2/lib/compress.c @@ -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]++; |