]> code.delx.au - spectrwm/commitdiff
Fix uninitialized variable warning.
authorReginald Kennedy <rk@rejii.com>
Wed, 22 Aug 2012 19:36:11 +0000 (03:36 +0800)
committerReginald Kennedy <rk@rejii.com>
Wed, 22 Aug 2012 19:36:11 +0000 (03:36 +0800)
spectrwm.c

index eff0c5d301e83b4302ca7b102563cc9fe0b7d4c6..6f250722a2fd97e7edd93375c06287e40dc03490 100644 (file)
@@ -7157,7 +7157,7 @@ keypress(xcb_key_press_event_t *e)
 void
 buttonpress(xcb_button_press_event_t *e)
 {
-       struct ws_win           *win;
+       struct ws_win           *win = NULL;
        struct swm_region       *r, *old_r;
        int                     i;
        int                     handled = 0;