mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
gdkwindow: Remove an unused assignment
The show variable is assigned to in both branches of an if block a little further down. Found with scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760
This commit is contained in:
parent
ad6f4926b6
commit
c73bdb21b4
@ -1546,7 +1546,6 @@ gdk_window_reparent (GdkWindow *window,
|
||||
old_parent = window->parent;
|
||||
|
||||
was_mapped = GDK_WINDOW_IS_MAPPED (window);
|
||||
show = FALSE;
|
||||
|
||||
/* Reparenting to toplevel. Ensure we have a native window so this can work */
|
||||
if (new_parent->window_type == GDK_WINDOW_ROOT ||
|
||||
|
Loading…
Reference in New Issue
Block a user