mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
Remove unused variable.
This commit is contained in:
parent
6f1d1a5084
commit
4ffba49a6f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201104
@ -230,11 +230,9 @@ static int
|
|||||||
archive_compressor_program_write(struct archive_write *a, const void *buff,
|
archive_compressor_program_write(struct archive_write *a, const void *buff,
|
||||||
size_t length)
|
size_t length)
|
||||||
{
|
{
|
||||||
struct private_data *state;
|
|
||||||
ssize_t ret;
|
ssize_t ret;
|
||||||
const char *buf;
|
const char *buf;
|
||||||
|
|
||||||
state = (struct private_data *)a->compressor.data;
|
|
||||||
if (a->client_writer == NULL) {
|
if (a->client_writer == NULL) {
|
||||||
archive_set_error(&a->archive, ARCHIVE_ERRNO_PROGRAMMER,
|
archive_set_error(&a->archive, ARCHIVE_ERRNO_PROGRAMMER,
|
||||||
"No write callback is registered? "
|
"No write callback is registered? "
|
||||||
|
Loading…
Reference in New Issue
Block a user