Commit c73bdb21 authored by Philip Withnall's avatar Philip Withnall

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
parent ad6f4926
......@@ -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 ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment