From 77b3bad2c6fffa233426d0ad165ba154a38f773d Mon Sep 17 00:00:00 2001 From: kientzle Date: Mon, 28 Dec 2009 03:14:30 +0000 Subject: Remove unused variable. --- lib/libarchive/archive_write_set_compression_program.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/libarchive') diff --git a/lib/libarchive/archive_write_set_compression_program.c b/lib/libarchive/archive_write_set_compression_program.c index e612f3b..68c86cc 100644 --- a/lib/libarchive/archive_write_set_compression_program.c +++ b/lib/libarchive/archive_write_set_compression_program.c @@ -230,11 +230,9 @@ static int archive_compressor_program_write(struct archive_write *a, const void *buff, size_t length) { - struct private_data *state; ssize_t ret; const char *buf; - state = (struct private_data *)a->compressor.data; if (a->client_writer == NULL) { archive_set_error(&a->archive, ARCHIVE_ERRNO_PROGRAMMER, "No write callback is registered? " -- cgit v1.1