]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
clean up for -Wall
authorJim Meyering <jim@meyering.net>
Tue, 27 May 1997 11:05:40 +0000 (11:05 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 27 May 1997 11:05:40 +0000 (11:05 +0000)
src/copy.c

index 9dac6de96670dab56f81de1f724cab8b7ca1aefc..39b1ea228c73611f8275406c4a422fa2986df13d 100644 (file)
@@ -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);
 }