Fix a C99ism. (#120821, Thomas Klausner)

2003-08-28  Matthias Clasen  <maclas@gmx.de>

	* tests/patterntest.c (verbose): Fix a C99ism.  (#120821, Thomas
	Klausner)
This commit is contained in:
Matthias Clasen 2003-08-27 22:27:41 +00:00 committed by Matthias Clasen
parent 6bd3d8bcf6
commit 3155dfd3dc
7 changed files with 34 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-08-28 Matthias Clasen <maclas@gmx.de>
* tests/patterntest.c (verbose): Fix a C99ism. (#120821, Thomas
Klausner)
2003-08-25 Tor Lillqvist <tml@iki.fi>
* glib/giowin32.c (read_thread): Avoid UNLOCKing the critical

View File

@ -1,3 +1,8 @@
2003-08-28 Matthias Clasen <maclas@gmx.de>
* tests/patterntest.c (verbose): Fix a C99ism. (#120821, Thomas
Klausner)
2003-08-25 Tor Lillqvist <tml@iki.fi>
* glib/giowin32.c (read_thread): Avoid UNLOCKing the critical

View File

@ -1,3 +1,8 @@
2003-08-28 Matthias Clasen <maclas@gmx.de>
* tests/patterntest.c (verbose): Fix a C99ism. (#120821, Thomas
Klausner)
2003-08-25 Tor Lillqvist <tml@iki.fi>
* glib/giowin32.c (read_thread): Avoid UNLOCKing the critical

View File

@ -1,3 +1,8 @@
2003-08-28 Matthias Clasen <maclas@gmx.de>
* tests/patterntest.c (verbose): Fix a C99ism. (#120821, Thomas
Klausner)
2003-08-25 Tor Lillqvist <tml@iki.fi>
* glib/giowin32.c (read_thread): Avoid UNLOCKing the critical

View File

@ -1,3 +1,8 @@
2003-08-28 Matthias Clasen <maclas@gmx.de>
* tests/patterntest.c (verbose): Fix a C99ism. (#120821, Thomas
Klausner)
2003-08-25 Tor Lillqvist <tml@iki.fi>
* glib/giowin32.c (read_thread): Avoid UNLOCKing the critical

View File

@ -1,3 +1,8 @@
2003-08-28 Matthias Clasen <maclas@gmx.de>
* tests/patterntest.c (verbose): Fix a C99ism. (#120821, Thomas
Klausner)
2003-08-25 Tor Lillqvist <tml@iki.fi>
* glib/giowin32.c (read_thread): Avoid UNLOCKing the critical

View File

@ -30,10 +30,13 @@ static gboolean noisy = FALSE;
static void
verbose (const gchar *format, ...)
{
gchar *msg;
va_list args;
va_start (args, format);
gchar *msg = g_strdup_vprintf (format, args);
msg = g_strdup_vprintf (format, args);
va_end (args);
if (noisy)
g_print (msg);
g_free (msg);