From 394b1e635124014cca53edf948c9ce379c7fc160 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 24 Nov 2013 22:49:15 +0100 Subject: archive/iso9660: remove pointless formula --- src/archive/Iso9660ArchivePlugin.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/archive/Iso9660ArchivePlugin.cxx') diff --git a/src/archive/Iso9660ArchivePlugin.cxx b/src/archive/Iso9660ArchivePlugin.cxx index 45a9b134b..315d32e46 100644 --- a/src/archive/Iso9660ArchivePlugin.cxx +++ b/src/archive/Iso9660ArchivePlugin.cxx @@ -203,8 +203,6 @@ Iso9660InputStream::Read(void *ptr, size_t size, Error &error) int no_blocks, cur_block; size_t left_bytes = statbuf->size - base.offset; - size = (size * ISO_BLOCKSIZE) / ISO_BLOCKSIZE; - if (left_bytes < size) { no_blocks = CEILING(left_bytes,ISO_BLOCKSIZE); } else { -- cgit v1.2.3