forked from AuroraMiddleware/gtk
GdkBroadwayDisplay: initialize GError before using it
This commit is contained in:
parent
cd016ef8e3
commit
4dabc8ba84
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user