[gtk+/xi2: 853/1239] GdkDeviceXI2: Initialize variable.



commit 97e2355964c025eced8633447997d4e13f7cf903
Author: Carlos Garnacho <carlos lanedo com>
Date:   Mon Aug 24 02:25:16 2009 +0200

    GdkDeviceXI2: Initialize variable.

 gdk/x11/gdkdevice-xi2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkdevice-xi2.c b/gdk/x11/gdkdevice-xi2.c
index 9bb30e9..ffa04b2 100644
--- a/gdk/x11/gdkdevice-xi2.c
+++ b/gdk/x11/gdkdevice-xi2.c
@@ -271,7 +271,7 @@ gdk_device_xi2_window_at_position (GdkDevice *device,
   GdkScreen *screen;
   Display *xdisplay;
   GdkWindow *window;
-  Window xwindow, root, child, last;
+  Window xwindow, root, child, last = None;
   int xroot_x, xroot_y, xwin_x, xwin_y;
   unsigned int xmask;
 



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