From: Peter Howkins Date: Fri, 13 Jul 2018 16:11:31 +0000 (+0100) Subject: dtcm: Coverity 88860 X-Git-Tag: 2.3.0a~129 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c180f33d90e6a706ff3362c8dc0b49cb8ddde2af;p=oweals%2Fcde.git dtcm: Coverity 88860 --- diff --git a/cde/programs/dtcm/libDtCmP/cm_tty.c b/cde/programs/dtcm/libDtCmP/cm_tty.c index 93941bb9..7eeac34e 100644 --- a/cde/programs/dtcm/libDtCmP/cm_tty.c +++ b/cde/programs/dtcm/libDtCmP/cm_tty.c @@ -1864,7 +1864,7 @@ parse_attrs_to_string(Dtcm_appointment *appt, Props *p, char *attr_string) { r_buf[MAXNAMELEN], f_buf[MAXNAMELEN], *appt_what, *b_ptr; time_t tick, end_tick = 0; - CSA_sint32 repeat_type; + CSA_sint32 repeat_type = 0; CSA_uint32 repeat_times; static char *format_string = "\n\n\t** Calendar Appointment **\n%s:string:begin\n%s%s:string:end\n\tDate: %s\n\tStart: %s\n\tEnd: %s\n\tRepeat: %s\n\tFor: %s\n\tWhat: %s";