dtcm: Coverity 88899
authorPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 16:21:04 +0000 (17:21 +0100)
committerPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 16:21:04 +0000 (17:21 +0100)
cde/programs/dtcm/server/cmsconvert.c

index bf4ce237784189761c6b29a0d82c07077f28abd8..be56d035e96a1e5f2cac7505d4bd15d7fd61fd64 100644 (file)
@@ -68,7 +68,7 @@ static CSA_return_code _Appt4ToCmsentryAttrs(char *calname, Appt_4 *a4,
 extern CSA_return_code
 _DtCmsCmsentriesToAppt4ForClient(cms_entry *entries, Appt_4 **appt)
 {
-       CSA_return_code stat;
+       CSA_return_code stat = CSA_SUCCESS;
        Appt_4  *newappt, *prev, *head;
 
        if (appt == NULL)