]> code.delx.au - spectrwm/blobdiff - spectrwm.c
Fix uninitialized variable warning.
[spectrwm] / 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;