From: Jim Meyering Date: Thu, 22 Nov 2007 08:24:17 +0000 (+0100) Subject: Quiet warnings about unused parameters. X-Git-Tag: v6.9.90~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=849c3830dc9b89a698a279a75c2bfa1e4f985fe4;p=thirdparty%2Fcoreutils.git Quiet warnings about unused parameters. * src/copy.c (set_author) [!HAVE_STRUCT_STAT_ST_AUTHOR]: "Use" each of the parameters. --- diff --git a/ChangeLog b/ChangeLog index 56de1ec3dc..3d682f9107 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-11-22 Jim Meyering + 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. diff --git a/src/copy.c b/src/copy.c index 31e29b1bfb..280fbf8d9c 100644 --- a/src/copy.c +++ b/src/copy.c @@ -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 }