dtcm: Coverity 88533
authorPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 18:01:47 +0000 (19:01 +0100)
committerPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 18:01:47 +0000 (19:01 +0100)
cde/programs/dtcm/dtcm/group_editor.c

index 82fe3364cf7a8530b49b45834ee90f8710b1d2b8..6c6b1749fce87876218dbb272320044843eaf8e9 100644 (file)
@@ -527,7 +527,7 @@ static Dtcm_appointment*
 form_to_appt(GEditor *ge, Boolean no_reminders, int version) {
        Props                   *p = (Props *)ge->cal->properties;
        boolean_t               all_ok;
-       Dtcm_appointment        *a;
+       Dtcm_appointment        *a = NULL;
 
        if (no_reminders) {