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	Sat May 19 00:15:30 2012 -0400
+++ b/libcruft/misc/lo-error.c	Sat May 19 00:29:41 2012 -0400
@@ -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);