From c49388ad3456c98ddac0136d88118121ec8636d9 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sun, 26 Apr 2009 18:24:14 +0000 Subject: [PATCH] Remove an unused variable. Thanks to: Christoph Mallon --- lib/libarchive/archive_read_support_format_empty.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/libarchive/archive_read_support_format_empty.c b/lib/libarchive/archive_read_support_format_empty.c index 38498cf7ff3d..05c495829305 100644 --- a/lib/libarchive/archive_read_support_format_empty.c +++ b/lib/libarchive/archive_read_support_format_empty.c @@ -59,10 +59,9 @@ archive_read_support_format_empty(struct archive *_a) static int archive_read_format_empty_bid(struct archive_read *a) { - const void *h; ssize_t avail; - h = __archive_read_ahead(a, 1, &avail); + (void)__archive_read_ahead(a, 1, &avail); if (avail != 0) return (-1); return (1);