summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3.c
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2007-09-12 08:49:48 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2007-09-12 08:49:48 +0000
commitaa3d74e6f7bbc0d004d0479c595471b49cc92d0e (patch)
tree58494c6df176d5faf107376d1f6838343ee334a5 /xdelta3/xdelta3.c
parenta5cf569debedee47fbe8d4f3b96a200cf677c623 (diff)
Fixes xdelta recode command, but does not implement adler32, source
info, app header, etc.
Diffstat (limited to 'xdelta3/xdelta3.c')
-rw-r--r--xdelta3/xdelta3.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/xdelta3/xdelta3.c b/xdelta3/xdelta3.c
index fb6191d..ca90309 100644
--- a/xdelta3/xdelta3.c
+++ b/xdelta3/xdelta3.c
@@ -2832,8 +2832,6 @@ xd3_iopt_finish_encoding (xd3_stream *stream, xd3_rinst *inst)
2832 XD3_ASSERT (stream->unencoded_offset == inst->pos); 2832 XD3_ASSERT (stream->unencoded_offset == inst->pos);
2833 stream->unencoded_offset += inst->size; 2833 stream->unencoded_offset += inst->size;
2834 2834
2835 IF_DEBUG (stream->n_emit += inst->size);
2836
2837 inst->code2 = 0; 2835 inst->code2 = 0;
2838 2836
2839 XD3_CHOOSE_INSTRUCTION (stream, stream->iout, inst); 2837 XD3_CHOOSE_INSTRUCTION (stream, stream->iout, inst);
@@ -3290,8 +3288,6 @@ xd3_emit_hdr (xd3_stream *stream)
3290 usize_t inst_len; 3288 usize_t inst_len;
3291 usize_t addr_len; 3289 usize_t addr_len;
3292 3290
3293 XD3_ASSERT (stream->n_emit == stream->avail_in);
3294
3295 if (stream->current_window == 0) 3291 if (stream->current_window == 0)
3296 { 3292 {
3297 uint hdr_ind = 0; 3293 uint hdr_ind = 0;
@@ -3600,7 +3596,6 @@ xd3_encode_reset (xd3_stream *stream)
3600 int i; 3596 int i;
3601 xd3_output *olist; 3597 xd3_output *olist;
3602 3598
3603 IF_DEBUG (stream->n_emit = 0);
3604 stream->avail_in = 0; 3599 stream->avail_in = 0;
3605 stream->small_reset = 1; 3600 stream->small_reset = 1;
3606 stream->i_slots_used = 0; 3601 stream->i_slots_used = 0;