Remove unused variable.

This commit is contained in:
kientzle 2009-12-28 03:14:30 +00:00
parent 6bd6257279
commit 77b3bad2c6

View File

@ -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? "