diff options
author | Jim Meyering <jim@meyering.net> | 1998-03-13 23:38:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-03-13 23:38:27 +0000 |
commit | fefa8511b8a31feaa8b39e4a3c83fdf0d8f938b9 (patch) | |
tree | cdac289f3b279ce7ea8487d47dda0a38ccc64eab /src/cp.c | |
parent | 347db9ce77cbb6af0f90db00a10cc061fe181047 (diff) | |
download | coreutils-fefa8511b8a31feaa8b39e4a3c83fdf0d8f938b9.tar.xz |
(do_copy): Add unused arg in calls to copy.
Diffstat (limited to 'src/cp.c')
-rw-r--r-- | src/cp.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -485,7 +485,8 @@ do_copy (int argc, char **argv, const struct cp_options *x) } else { - ret |= copy (arg, dst_path, new_dst, x); + int unused; + ret |= copy (arg, dst_path, new_dst, x, &unused); forget_all (); if (flag_path) @@ -506,6 +507,7 @@ do_copy (int argc, char **argv, const struct cp_options *x) { char *new_dest; char *source; + int unused; struct stat source_stats; if (flag_path) @@ -572,7 +574,7 @@ do_copy (int argc, char **argv, const struct cp_options *x) new_dest = dest; } - return copy (source, new_dest, new_dst, x); + return copy (source, new_dest, new_dst, x, &unused); } else { |