dtcm: Coverity 89051
This commit is contained in:
@@ -1684,13 +1684,15 @@ add_to_gaccess_list(
|
|||||||
int cnt = 1;
|
int cnt = 1;
|
||||||
char access, *buf;
|
char access, *buf;
|
||||||
XmString xmstr;
|
XmString xmstr;
|
||||||
Calendar *c = ge->cal;
|
Calendar *c;
|
||||||
Props_pu *p = (Props_pu *)ge->cal->properties_pu;
|
Props_pu *p = (Props_pu *)ge->cal->properties_pu;
|
||||||
Access_data *new_data = NULL;
|
Access_data *new_data = NULL;
|
||||||
|
|
||||||
if (!ge)
|
if (!ge)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
c = ge->cal;
|
||||||
|
|
||||||
while (ge->access_data && cnt <= ge->access_data->count) {
|
while (ge->access_data && cnt <= ge->access_data->count) {
|
||||||
new_data = (Access_data *)
|
new_data = (Access_data *)
|
||||||
CmDataListGetData(ge->access_data, cnt);
|
CmDataListGetData(ge->access_data, cnt);
|
||||||
|
|||||||
Reference in New Issue
Block a user