Mercurial > hg > octave-lyh
changeset 14658:6f21354841bf
Silence more warnings
* lo-error.c (liboctave_fatal_with_id, liboctave_warning_with_id):
Explicitly ignore id argument
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Sat, 19 May 2012 00:29:41 -0400 |
parents | 8a84849ad986 |
children | 97e3d1769be0 |
files | libcruft/misc/lo-error.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libcruft/misc/lo-error.c +++ b/libcruft/misc/lo-error.c @@ -110,6 +110,7 @@ void liboctave_fatal_with_id (const char *id, const char *fmt, ...) { + (void) id; /*unused*/ va_list args; va_start (args, fmt); verror ("fatal", fmt, args); @@ -130,6 +131,7 @@ void liboctave_warning_with_id (const char *id, const char *fmt, ...) { + (void) id; /*unused*/ va_list args; va_start (args, fmt); verror ("warning", fmt, args);