Commit 394b1e63 authored by Max Kellermann's avatar Max Kellermann

archive/iso9660: remove pointless formula

parent c95d068e
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment