openbsd-ports/devel/glib2/patches/patch-tests_patterntest_c
2004-01-13 01:57:44 +00:00

16 lines
474 B
Plaintext

$OpenBSD: patch-tests_patterntest_c,v 1.1 2004/01/13 01:57:44 brad Exp $
--- tests/patterntest.c.orig 2004-01-12 20:43:17.000000000 -0500
+++ tests/patterntest.c 2004-01-12 20:44:01.000000000 -0500
@@ -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);