From 95832ed6c422166a3e198bc8ef692b4d4cc55b86 Mon Sep 17 00:00:00 2001 From: Reginald Kennedy Date: Tue, 21 Aug 2012 02:02:41 +0800 Subject: [PATCH] Silence the -Wconditional-uninitialized warning with clang. --- spectrwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spectrwm.c b/spectrwm.c index b250a20..bd460e9 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -6515,7 +6515,7 @@ conf_load(char *filename, int keymapping) char *line, *cp, *optsub, *optval; size_t linelen, lineno = 0; int wordlen, i, optidx; - struct config_option *opt; + struct config_option *opt = NULL; DNPRINTF(SWM_D_CONF, "conf_load: begin\n"); -- 1.7.10.4