summaryrefslogtreecommitdiff
path: root/devel/glib2/patches/patch-ac
blob: 80c4e93afce5269b83613f2fd87ceefd94ee9490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.6 2003/08/27 09:06:13 wiz Exp $

--- tests/patterntest.c.orig	Tue Aug 19 15:43:56 2003
+++ tests/patterntest.c
@@ -31,8 +31,10 @@ static void
 verbose (const gchar *format, ...)
 {
   va_list args;
+  gchar *msg;
+
   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);