aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-12 10:17:22 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-12 10:17:22 +0000
commit08efd5324c7de88d76ab78676de7a84bf7b3bcc0 (patch)
tree150b5f2e0c1b872b9241b02351da380109a53ab7 /libbb
parent2ebee5af50a674d832d6f65923a51562d9cf5e2b (diff)
downloadbusybox-w32-08efd5324c7de88d76ab78676de7a84bf7b3bcc0.tar.gz
busybox-w32-08efd5324c7de88d76ab78676de7a84bf7b3bcc0.tar.bz2
busybox-w32-08efd5324c7de88d76ab78676de7a84bf7b3bcc0.zip
remove unused clearerr statements
git-svn-id: svn://busybox.net/trunk/busybox@2329 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/copy_file_chunk.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libbb/copy_file_chunk.c b/libbb/copy_file_chunk.c
index e887cbe9f..90b6b8238 100644
--- a/libbb/copy_file_chunk.c
+++ b/libbb/copy_file_chunk.c
@@ -37,8 +37,6 @@ extern int copy_file_chunk(FILE *src_file, FILE *dst_file, off_t chunksize)
37 off_t size, amount_written; 37 off_t size, amount_written;
38 char buffer[BUFSIZ]; /* BUFSIZ is declared in stdio.h */ 38 char buffer[BUFSIZ]; /* BUFSIZ is declared in stdio.h */
39 39
40 clearerr(src_file);
41 clearerr(dst_file);
42 while (chunksize > 0) { 40 while (chunksize > 0) {
43 if (chunksize > BUFSIZ) { 41 if (chunksize > BUFSIZ) {
44 size = BUFSIZ; 42 size = BUFSIZ;