diff --git a/gdk/broadway/gdkdisplay-broadway.c b/gdk/broadway/gdkdisplay-broadway.c index dba1f55948..548ba58aa1 100644 --- a/gdk/broadway/gdkdisplay-broadway.c +++ b/gdk/broadway/gdkdisplay-broadway.c @@ -1060,7 +1060,7 @@ _gdk_broadway_display_open (const gchar *display_name) { GdkDisplay *display; GdkBroadwayDisplay *broadway_display; - GError *error; + GError *error = NULL; int port; display = g_object_new (GDK_TYPE_BROADWAY_DISPLAY, NULL);