mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 88910
This commit is contained in:
parent
70da2331b1
commit
3ea62fea56
1 changed files with 4 additions and 1 deletions
|
@ -90,7 +90,7 @@ _DtCmsInsertEntry(_DtCmsCalendar *cal, cms_entry *entry)
|
||||||
CSA_opaque_data opq;
|
CSA_opaque_data opq;
|
||||||
cms_attribute *aptr;
|
cms_attribute *aptr;
|
||||||
RepeatEvent *re = NULL;
|
RepeatEvent *re = NULL;
|
||||||
RepeatEventState *res;
|
RepeatEventState *res = NULL;
|
||||||
extern void _DtCm_rule_parser();
|
extern void _DtCm_rule_parser();
|
||||||
uint count;
|
uint count;
|
||||||
int i;
|
int i;
|
||||||
|
@ -176,6 +176,9 @@ _DtCmsInsertEntry(_DtCmsCalendar *cal, cms_entry *entry)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Tidy unused variable */
|
||||||
|
free(res);
|
||||||
|
|
||||||
if ((stat = _DtCmsCheckStartEndTime(entry)) != CSA_SUCCESS)
|
if ((stat = _DtCmsCheckStartEndTime(entry)) != CSA_SUCCESS)
|
||||||
return (stat);
|
return (stat);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue