libctf: unused variable

* ctf-archive.c (arc_mmap_writeout): Delete unused variable.
This commit is contained in:
Alan Modra 2023-03-20 16:05:27 +10:30
parent de8e705968
commit d664a6aad2

View File

@ -1249,7 +1249,6 @@ static int arc_mmap_writeout (int fd, void *header, size_t headersz,
const char **errmsg)
{
ssize_t len;
size_t acc = 0;
char *data = (char *) header;
ssize_t count = headersz;
@ -1272,7 +1271,6 @@ static int arc_mmap_writeout (int fd, void *header, size_t headersz,
if (len == EINTR)
continue;
acc += len;
if (len == 0) /* EOF. */
break;