]> code.delx.au - spectrwm/blobdiff - spectrwm.c
Silence the -Wconditional-uninitialized warning with clang.
[spectrwm] / spectrwm.c
index b250a20d66cb1b06b8a5b354eb4f6bbadaac2f11..bd460e9b0df3f7dc1bb2956351be909a9465cd58 100644 (file)
@@ -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");