summaryrefslogtreecommitdiffstats
path: root/libtar/append.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtar/append.c')
-rw-r--r--libtar/append.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libtar/append.c b/libtar/append.c
index 66e3aa1e7..8f09de262 100644
--- a/libtar/append.c
+++ b/libtar/append.c
@@ -416,8 +416,7 @@ int
tar_append_buffer(TAR *t, void *buf, size_t len)
{
char block[T_BLOCKSIZE];
- int filefd;
- int i, j;
+ int i;
size_t size = len;
for (i = size; i > T_BLOCKSIZE; i -= T_BLOCKSIZE)