mirror of
https://github.com/sheumann/hush.git
synced 2025-01-15 18:30:43 +00:00
remove unused clearerr statements
This commit is contained in:
parent
327175137f
commit
46079a1d77
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user