From: Reginald Kennedy Date: Wed, 22 Aug 2012 19:36:11 +0000 (+0800) Subject: Fix uninitialized variable warning. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=3050ccac16585a4e77ff80bde9d99398e40d28fe;p=spectrwm.git Fix uninitialized variable warning. --- diff --git a/spectrwm.c b/spectrwm.c index eff0c5d..6f25072 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -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;