mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Ensure a variable is initialized
clang complained about transient_for being used uninitialized.
This commit is contained in:
parent
577e9a33bb
commit
5a446284b7
@ -1174,7 +1174,7 @@ static void
|
||||
gdk_wayland_window_map (GdkWindow *window)
|
||||
{
|
||||
GdkWindowImplWayland *impl = GDK_WINDOW_IMPL_WAYLAND (window->impl);
|
||||
GdkWindow *transient_for;
|
||||
GdkWindow *transient_for = NULL;
|
||||
|
||||
if (!should_be_mapped (window))
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user