Fix a C99ism. (#120821, Thomas Klausner)
authorMatthias Clasen <maclas@gmx.de>
Wed, 27 Aug 2003 22:27:41 +0000 (22:27 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 27 Aug 2003 22:27:41 +0000 (22:27 +0000)
2003-08-28  Matthias Clasen  <maclas@gmx.de>

* tests/patterntest.c (verbose): Fix a C99ism.  (#120821, Thomas
Klausner)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
tests/patterntest.c

index c70f028..5f70f6c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index c70f028..5f70f6c 100644 (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
index c70f028..5f70f6c 100644 (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
index c70f028..5f70f6c 100644 (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
index c70f028..5f70f6c 100644 (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
index c70f028..5f70f6c 100644 (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
index 29f2938..f5fd7b2 100644 (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);