remove unused clearerr statements
authorGlenn L McGrath <bug1@ihug.co.nz>
Thu, 12 Apr 2001 10:17:22 +0000 (10:17 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Thu, 12 Apr 2001 10:17:22 +0000 (10:17 -0000)
libbb/copy_file_chunk.c

index e887cbe9f9ede9f03e660eeda80105d2a33772e6..90b6b823874263ee7c99a45463b762f781aadd14 100644 (file)
@@ -37,8 +37,6 @@ extern int copy_file_chunk(FILE *src_file, FILE *dst_file, off_t chunksize)
        off_t size, amount_written;
        char buffer[BUFSIZ]; /* BUFSIZ is declared in stdio.h */
        
-       clearerr(src_file);
-       clearerr(dst_file);
        while (chunksize > 0) {
                if (chunksize > BUFSIZ) {
                        size = BUFSIZ;