JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
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 eff0c5d..6f25072 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;