summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-05-27 11:05:40 +0000
committerJim Meyering <jim@meyering.net>1997-05-27 11:05:40 +0000
commitbc50ceb47475d3f9ae084444f612184877c4c04e (patch)
tree118eb02a58a220481c2d458b315ac437c74a2cf0 /src/copy.c
parent4c2adcbd56def9b5897a1a462998e77233d83542 (diff)
downloadcoreutils-bc50ceb47475d3f9ae084444f612184877c4c04e.tar.xz
clean up for -Wall
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c
index 9dac6de96..39b1ea228 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -749,6 +749,7 @@ valid_options (const struct cp_options *co)
assert (co->xstat);
assert (co->sparse_mode != SPARSE_UNUSED);
+ return 1;
}
/* Copy the file SRC_PATH to the file DST_PATH. The files may be of
@@ -765,5 +766,5 @@ copy (const char *src_path, const char *dst_path,
int nonexistent_dst, const struct cp_options *options)
{
assert (valid_options (options));
- copy_internal (src_path, dst_path, nonexistent_dst, 0, NULL, options);
+ return copy_internal (src_path, dst_path, nonexistent_dst, 0, NULL, options);
}