From: Reginald Kennedy Date: Mon, 20 Aug 2012 18:02:41 +0000 (+0800) Subject: Silence the -Wconditional-uninitialized warning with clang. X-Git-Tag: SPECTRWM_2_0_0~12 X-Git-Url: https://code.delx.au/spectrwm/commitdiff_plain/95832ed6c422166a3e198bc8ef692b4d4cc55b86?ds=sidebyside Silence the -Wconditional-uninitialized warning with clang. --- 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");