Ensure a variable is initialized
clang complained about transient_for being used uninitialized.
This commit is contained in:
@ -1174,7 +1174,7 @@ static void
|
|||||||
gdk_wayland_window_map (GdkWindow *window)
|
gdk_wayland_window_map (GdkWindow *window)
|
||||||
{
|
{
|
||||||
GdkWindowImplWayland *impl = GDK_WINDOW_IMPL_WAYLAND (window->impl);
|
GdkWindowImplWayland *impl = GDK_WINDOW_IMPL_WAYLAND (window->impl);
|
||||||
GdkWindow *transient_for;
|
GdkWindow *transient_for = NULL;
|
||||||
|
|
||||||
if (!should_be_mapped (window))
|
if (!should_be_mapped (window))
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user