From 3050ccac16585a4e77ff80bde9d99398e40d28fe Mon Sep 17 00:00:00 2001 From: Reginald Kennedy Date: Thu, 23 Aug 2012 03:36:11 +0800 Subject: [PATCH] Fix uninitialized variable warning. --- spectrwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.7.10.4