1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtcm: Coverity 89051

This commit is contained in:
Peter Howkins 2018-07-13 19:25:15 +01:00
parent 6d7525e174
commit 10a0f55b4a

View file

@ -1684,13 +1684,15 @@ add_to_gaccess_list(
int cnt = 1;
char access, *buf;
XmString xmstr;
Calendar *c = ge->cal;
Calendar *c;
Props_pu *p = (Props_pu *)ge->cal->properties_pu;
Access_data *new_data = NULL;
if (!ge)
return;
c = ge->cal;
while (ge->access_data && cnt <= ge->access_data->count) {
new_data = (Access_data *)
CmDataListGetData(ge->access_data, cnt);