diff options
-rw-r--r-- | libctf/ctf-archive.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libctf/ctf-archive.c b/libctf/ctf-archive.c index 54c49b3..a8f76e4 100644 --- a/libctf/ctf-archive.c +++ b/libctf/ctf-archive.c @@ -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; |