mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 06:52:45 +00:00
Remove an unused variable.
Thanks to: Christoph Mallon
This commit is contained in:
parent
5d8532a1b1
commit
c49388ad34
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191524
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user