From 137e6f4d5ff4a86a1f28276fd7431281a54b8c74 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 15 Jun 2013 23:36:10 -0400 Subject: [PATCH] Avoid an uninitialized variable access --- testsuite/gtk/defaultvalue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c index 55875a61e8..f9609648ce 100644 --- a/testsuite/gtk/defaultvalue.c +++ b/testsuite/gtk/defaultvalue.c @@ -92,6 +92,7 @@ test_type (gconstpointer data) else if (g_type_is_a (type, GDK_TYPE_WINDOW)) { GdkWindowAttr attributes; + attributes.wclass = GDK_INPUT_OUTPUT; attributes.window_type = GDK_WINDOW_TEMP; attributes.event_mask = 0; attributes.width = 100;