]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Quiet warnings about unused parameters.
authorJim Meyering <meyering@redhat.com>
Thu, 22 Nov 2007 08:24:17 +0000 (09:24 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 22 Nov 2007 08:24:17 +0000 (09:24 +0100)
* src/copy.c (set_author) [!HAVE_STRUCT_STAT_ST_AUTHOR]:
"Use" each of the parameters.

ChangeLog
src/copy.c

index 56de1ec3dc2999239440696846bb65f606828536..3d682f9107e98e4d8f946908de0c0970550c9530 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-11-22  Jim Meyering  <meyering@redhat.com>
 
+       Quiet warnings about unused parameters.
+       * src/copy.c (set_author) [!HAVE_STRUCT_STAT_ST_AUTHOR]:
+       "Use" each of the parameters.
+
        * GNUmakefile: Correct the "rerunning..." diagnostic.
 
        Make it easier to diagnose PATH-induced "make distcheck" failures.
index 31e29b1bfb695bd81ad0aae055eaf186fb3ab5d4..280fbf8d9cfb37b81e3c67bf798e0f8f7102e08a 100644 (file)
@@ -227,6 +227,10 @@ set_author (const char *dst_name, int dest_desc, const struct stat *src_sb)
               quote (dst_name));
       mach_port_deallocate (mach_task_self (), file);
     }
+#else
+  (void) dst_name;
+  (void) dest_desc;
+  (void) src_sb;
 #endif
 }