[Xcb-commit] icccm

Julien Danjou jdanjou at kemper.freedesktop.org
Wed Aug 6 12:59:55 PDT 2008


 icccm/icccm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b8d6c8681d45a9b2b1b76010a3ebf3ab301cf34d
Author: Julien Danjou <julien at danjou.info>
Date:   Wed Aug 6 21:55:51 2008 +0200

    icccm: fix wrong variable initialization
    
    Thanks Ian Osgood for the hint.
    
    Signed-off-by: Julien Danjou <julien at danjou.info>

diff --git a/icccm/icccm.c b/icccm/icccm.c
index 250c4c3..3550c5a 100644
--- a/icccm/icccm.c
+++ b/icccm/icccm.c
@@ -671,7 +671,7 @@ xcb_get_wm_hints (xcb_connection_t *c,
 {
 	xcb_get_property_cookie_t cookie;
 	xcb_get_property_reply_t *rep = NULL;
-	xcb_wm_hints_t           *hints;
+	xcb_wm_hints_t           *hints = NULL;
 	long                      length;
 
 	cookie = xcb_get_property (c, 0, window,


More information about the xcb-commit mailing list