[gtk+] gdkwindow: Remove an unused assignment



commit c73bdb21b45a3fc122d23e754b032a92ac513acc
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Mon Dec 2 10:42:00 2013 +0000

    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

 gdk/gdkwindow.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 55b37b3..a890e11 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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 ||


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]