mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 10:35:12 +08:00
libctf: unused variable
* ctf-archive.c (arc_mmap_writeout): Delete unused variable.
This commit is contained in:
parent
de8e705968
commit
d664a6aad2
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user