]> 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 3246097e8de29898862f94afe0d84141757c8597..69ed19b20dc7deb8bf6a7828b91e3375c8623e45 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.52 2013/02/18 15:40:59 christos Exp $")
+FILE_RCSID("@(#)$File: cdf.c,v 1.53 2013/02/26 16:20:42 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;