mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
Remove an unused variable and an unreachable statement.
This commit is contained in:
parent
409cc2477d
commit
108f9d8324
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201107
@ -89,9 +89,8 @@ archive_read_support_format_raw(struct archive *_a)
|
||||
static int
|
||||
archive_read_format_raw_bid(struct archive_read *a)
|
||||
{
|
||||
const char *p;
|
||||
|
||||
if ((p = __archive_read_ahead(a, 1, NULL)) == NULL)
|
||||
if (__archive_read_ahead(a, 1, NULL) == NULL)
|
||||
return (-1);
|
||||
return (1);
|
||||
}
|
||||
@ -149,7 +148,6 @@ archive_read_format_raw_read_data(struct archive_read *a,
|
||||
*offset = info->offset;
|
||||
return (avail);
|
||||
}
|
||||
return (ARCHIVE_OK);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user