summaryrefslogtreecommitdiff
path: root/src/shared/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/copy.c')
-rw-r--r--src/shared/copy.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shared/copy.c b/src/shared/copy.c
index ebd6699838..3744797b95 100644
--- a/src/shared/copy.c
+++ b/src/shared/copy.c
@@ -29,9 +29,7 @@ int copy_bytes(int fdf, int fdt, off_t max_bytes) {
for (;;) {
char buf[PIPE_BUF];
ssize_t n, k;
- size_t m;
-
- m = sizeof(buf);
+ size_t m = sizeof(buf);
if (max_bytes != (off_t) -1) {