aboutsummaryrefslogtreecommitdiff
path: root/lib/tar/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tar/src')
-rw-r--r--lib/tar/src/iterator.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/tar/src/iterator.c b/lib/tar/src/iterator.c
index f46a9c2..df5c446 100644
--- a/lib/tar/src/iterator.c
+++ b/lib/tar/src/iterator.c
@@ -109,9 +109,7 @@ static int strm_precache(istream_t *strm)
return tar->state;
if (!tar->parent->last_sparse) {
- int ret = istream_advance_buffer(tar->parent->stream, diff);
- if (ret != 0)
- return ret;
+ istream_advance_buffer(tar->parent->stream, diff);
tar->parent->record_size -= diff;
}