]> granicus.if.org Git - file/commitdiff
fix stray return -1; from glen at delfi dot ee
authorChristos Zoulas <christos@zoulas.com>
Tue, 26 Feb 2013 16:20:42 +0000 (16:20 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 26 Feb 2013 16:20:42 +0000 (16:20 +0000)
src/cdf.c

index 6116cc62c6e96548418d7d9769d741f4e9f4fee2..4b42322394ee5e290b4d231ce19ff41d23f0bc20 100644 (file)
--- a/src/cdf.c
+++ b/src/cdf.c
@@ -35,7 +35,7 @@
 #include "file.h"
 
 #ifndef lint
-FILE_RCSID("@(#)$File: cdf.c,v 1.51 2012/03/20 18:28:02 christos Exp $")
+FILE_RCSID("@(#)$File: cdf.c,v 1.52 2013/02/18 15:40:59 christos Exp $")
 #endif
 
 #include <assert.h>
@@ -296,8 +296,6 @@ cdf_read(const cdf_info_t *info, off_t off, void *buf, size_t len)
        if (info->i_fd == -1)
                return -1;
 
-               return -1;
-
        if (pread(info->i_fd, buf, len, off) != (ssize_t)len)
                return -1;