1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtcm: Coverity 89287

This commit is contained in:
Peter Howkins 2018-07-04 23:02:09 +01:00
parent 6bf5856c34
commit 008c224771

View file

@ -83,7 +83,7 @@ static Boolean
validate_dropped_appt(char *filename, Calendar *c) {
Props *p = (Props *)c->properties;
Props_pu *pu = (Props_pu *)c->properties_pu;
CmDataList *list = CmDataListCreate();
CmDataList *list = NULL;
Validate_op op;
int i;
Dtcm_appointment *a;
@ -91,6 +91,8 @@ validate_dropped_appt(char *filename, Calendar *c) {
if (!filename || *filename == '\0')
return(False);
list = CmDataListCreate();
op = parse_appt_from_file(c->DT_catd, filename, list, p, query_user,
(void *)c, c->general->version);