]> git.saurik.com Git - wxWidgets.git/blobdiff - src/regex/regexec.c
Initialize all fields of struct tm used by wxDateTime::Format().
[wxWidgets.git] / src / regex / regexec.c
index 41d49bdab53e75eff2522f238332b34ec610b8c5..42e7e18923b28fa479a816c106c1ec432fa29f6e 100644 (file)
@@ -360,7 +360,7 @@ struct colormap *cm;
                freedfa(s);
                return v->err;
        }
-
+    cold = NULL;// WX: fix gcc warnings about cold being possibly uninitialized
        ret = cfindloop(v, cnfa, cm, d, s, &cold);
 
        freedfa(d);