removed sputious va_end(args) that for some reason didn't produce a

Fri May 15 22:31:49 1998  Tim Janik  <timj@gtk.org>

        * 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?).
This commit is contained in:
Tim Janik 1998-05-15 22:25:38 +00:00 committed by Tim Janik
parent 5ed260f03e
commit a7c7158c7b
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Fri May 15 22:31:49 1998 Tim Janik <timj@gtk.org>
* 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 <doulik@karlin.mff.cuni.cz> Fri May 15 12:32:08 1998 rodo <doulik@karlin.mff.cuni.cz>
* gscanner.c: replaced some snprintf with g_snprintf * gscanner.c: replaced some snprintf with g_snprintf

View File

@ -715,7 +715,7 @@ gdouble g_timer_elapsed (GTimer *timer,
/* Output /* 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_warning (const gchar *format, ...) G_GNUC_PRINTF (1, 2);
void g_message (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); void g_print (const gchar *format, ...) G_GNUC_PRINTF (1, 2);

View File

@ -886,8 +886,6 @@ g_scanner_unexp_token (GScanner *scanner,
message); message);
} }
va_end (args);
g_free (token_string); g_free (token_string);
g_free (expected_string); g_free (expected_string);
} }