--- src/cdf.c +++ src/cdf.c 2013-02-26 17:30:21.073444930 +0000 @@ -250,8 +250,6 @@ cdf_read(const cdf_info_t *info, off_t o if (info->i_fd == -1) return -1; - return -1; - if (pread(info->i_fd, buf, len, off) != (ssize_t)len) return -1;