From: Jim Meyering Date: Tue, 27 May 1997 11:05:40 +0000 (+0000) Subject: clean up for -Wall X-Git-Tag: SH-UTILS-1_16a~73 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc50ceb47475d3f9ae084444f612184877c4c04e;p=thirdparty%2Fcoreutils.git clean up for -Wall --- diff --git a/src/copy.c b/src/copy.c index 9dac6de966..39b1ea228c 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); }