aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-24 22:49:15 +0100
committerMax Kellermann <max@duempel.org>2013-11-24 22:49:15 +0100
commit394b1e635124014cca53edf948c9ce379c7fc160 (patch)
treebe4e128e73b435d70080e57ecd72913c78743261 /src/archive
parentc95d068ef5311d9a6240bd39740fef5f7ab4c64a (diff)
downloadmpd-394b1e635124014cca53edf948c9ce379c7fc160.tar.gz
mpd-394b1e635124014cca53edf948c9ce379c7fc160.tar.xz
mpd-394b1e635124014cca53edf948c9ce379c7fc160.zip
archive/iso9660: remove pointless formula
Diffstat (limited to 'src/archive')
-rw-r--r--src/archive/Iso9660ArchivePlugin.cxx2
1 files changed, 0 insertions, 2 deletions
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 {