Mercurial > hg > octave-kai > gnulib-hg
changeset 10855:b6d1276d462d
unicodeio.c: mark unused parameters
* lib/unicodeio.c (exit_failure_callback): Mark unused parameter.
(fallback_failure_callback): Likewise.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sat, 29 Nov 2008 17:42:45 +0100 |
parents | 4e7233d13083 |
children | f6d444835290 |
files | ChangeLog lib/unicodeio.c |
diffstat | 2 files changed, 16 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-12-07 Jim Meyering <meyering@redhat.com> + + unicodeio.c: mark unused parameters + * lib/unicodeio.c (exit_failure_callback): Mark unused parameter. + (fallback_failure_callback): Likewise. + 2008-12-07 Bruno Haible <bruno@clisp.org> * gnulib-tool (func_create_testdir): When building the tests @@ -43,12 +49,16 @@ type mismatches. 2008-12-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - Bruno Haible <bruno@clisp.org> + Bruno Haible <bruno@clisp.org> * m4/openmp.m4 (AC_OPENMP): Do not define with Autoconf 2.62 or newer. 2008-11-29 Jim Meyering <meyering@redhat.com> + unicodeio.c: mark unused parameters + * lib/unicodeio.c (exit_failure_callback): Mark unused parameter. + (fallback_failure_callback): Likewise. + fts: fix a thinko * lib/fts.c (s_ifmt_shift_bits): Remove function. Not needed after all. (set_stat_type): Return S_IF*-valued "type" directly.
--- a/lib/unicodeio.c +++ b/lib/unicodeio.c @@ -168,7 +168,8 @@ /* Simple failure callback that displays an error and exits. */ static long -exit_failure_callback (unsigned int code, const char *msg, void *callback_arg) +exit_failure_callback (unsigned int code, const char *msg, + void *callback_arg _UNUSED_PARAMETER_) { if (msg == NULL) error (1, 0, _("cannot convert U+%04X to local character set"), code); @@ -181,7 +182,9 @@ /* Simple failure callback that displays a fallback representation in plain ASCII, using the same notation as ISO C99 strings. */ static long -fallback_failure_callback (unsigned int code, const char *msg, void *callback_arg) +fallback_failure_callback (unsigned int code, + const char *msg _UNUSED_PARAMETER_, + void *callback_arg) { FILE *stream = (FILE *) callback_arg;