From a7c7158c7bc90530040e16a91f56b859599ae186 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Fri, 15 May 1998 22:25:38 +0000 Subject: [PATCH] removed sputious va_end(args) that for some reason didn't produce a Fri May 15 22:31:49 1998 Tim Janik * gscanner.c (g_scanner_unexp_token): removed sputious va_end(args) that for some reason didn't produce a compiler wrning on my machine (is va_end undefined for i386?). --- glib/ChangeLog | 6 ++++++ glib/glib.h | 2 +- glib/gscanner.c | 2 -- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/glib/ChangeLog b/glib/ChangeLog index 0a68a72161..d7a276ba83 100644 --- a/glib/ChangeLog +++ b/glib/ChangeLog @@ -1,3 +1,9 @@ +Fri May 15 22:31:49 1998 Tim Janik + + * gscanner.c (g_scanner_unexp_token): removed sputious va_end(args) that + for some reason didn't produce a compiler wrning on my machine (is + va_end undefined for i386?). + Fri May 15 12:32:08 1998 rodo * gscanner.c: replaced some snprintf with g_snprintf diff --git a/glib/glib.h b/glib/glib.h index 653affcbfa..9ee044f745 100644 --- a/glib/glib.h +++ b/glib/glib.h @@ -715,7 +715,7 @@ gdouble g_timer_elapsed (GTimer *timer, /* Output */ -void g_error (const gchar *format, ...) G_GNUC_PRINTF (1, 2) G_GNUC_NORETURN; +void g_error (const gchar *format, ...) G_GNUC_PRINTF (1, 2); void g_warning (const gchar *format, ...) G_GNUC_PRINTF (1, 2); void g_message (const gchar *format, ...) G_GNUC_PRINTF (1, 2); void g_print (const gchar *format, ...) G_GNUC_PRINTF (1, 2); diff --git a/glib/gscanner.c b/glib/gscanner.c index a3af99b9f4..665af00af9 100644 --- a/glib/gscanner.c +++ b/glib/gscanner.c @@ -886,8 +886,6 @@ g_scanner_unexp_token (GScanner *scanner, message); } - va_end (args); - g_free (token_string); g_free (expected_string); }