From 4908fbb49a073f835d6076fa87f41b619172bf7e Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Fri, 13 Jul 2018 19:00:54 +0100 Subject: [PATCH] dtcm: Coverity 88350 --- cde/programs/dtcm/server/cmsconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtcm/server/cmsconvert.c b/cde/programs/dtcm/server/cmsconvert.c index 93ca34c4..1a39fde6 100644 --- a/cde/programs/dtcm/server/cmsconvert.c +++ b/cde/programs/dtcm/server/cmsconvert.c @@ -752,7 +752,7 @@ _AttrsToAbbrAppt(uint size, cms_attribute *attrs, Abb_Appt_4 *appt) CSA_return_code stat = CSA_SUCCESS; char *ptr; time_t endtick; - int i, typeindex, stypeindex = -1, enddateindex = -1; + int i, typeindex = 0, stypeindex = -1, enddateindex = -1; char buf[BUFSIZ]; for (i = 0; i < size && stat == CSA_SUCCESS; i++) { -- 2.25.1