Remove some dead assignments, fix some declarations.

This commit is contained in:
Tim Kientzle 2009-12-28 03:33:05 +00:00
parent e15da0400a
commit 0d722d6394
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201111

View file

@ -243,7 +243,6 @@ output_code(struct archive_write *a, int ocode)
int bits, ret, clear_flg, bit_offset;
clear_flg = ocode == CLEAR;
bits = state->code_len;
/*
* Since ocode is always >= 8 bits, only need to mask the first
@ -426,10 +425,9 @@ archive_compressor_compress_finish(struct archive_write *a)
ssize_t block_length, target_block_length, bytes_written;
int ret;
struct private_data *state;
unsigned tocopy;
size_t tocopy;
state = (struct private_data *)a->compressor.data;
ret = 0;
if (a->client_writer == NULL) {
archive_set_error(&a->archive, ARCHIVE_ERRNO_PROGRAMMER,
"No write callback is registered? "