mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Quiet warnings about unused parameters.
* src/copy.c (set_author) [!HAVE_STRUCT_STAT_ST_AUTHOR]: "Use" each of the parameters.
This commit is contained in:
1 parent
7794100ef8
commit
849c3830dc
2 files changed
+8
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user