From 5e61f7db80468969208fc77c8bc4f480979dfc60 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 14 Jan 2020 17:44:08 +0200 Subject: [PATCH] file: remove pointless tells() call --- zzip/file.c | 1 - 1 file changed, 1 deletion(-) diff --git a/zzip/file.c b/zzip/file.c index 4ad276b3..2a6279b2 100644 --- a/zzip/file.c +++ b/zzip/file.c @@ -1098,7 +1098,6 @@ zzip_seek(ZZIP_FILE * fp, zzip_off_t offset, int whence) if (fp->method == 0) { /* unstore, just lseek relatively */ - ofs = fp->io->fd.tells(dir->fd); ofs = fp->io->fd.seeks(dir->fd, read_size, SEEK_CUR); if (ofs > 0) { /* readjust from beginning of file */