aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-04-12 10:17:22 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-04-12 10:17:22 +0000
commit46079a1d7792dc3848667ddc875bd2467be1ddc1 (patch)
tree150b5f2e0c1b872b9241b02351da380109a53ab7
parent327175137f4151b524566abf9176e574ed2429ab (diff)
downloadbusybox-46079a1d7792dc3848667ddc875bd2467be1ddc1.tar.gz
remove unused clearerr statements
-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)
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;