projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d7525e
)
dtcm: Coverity 89051
author
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 18:25:15 +0000
(19:25 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 18:25:15 +0000
(19:25 +0100)
cde/programs/dtcm/dtcm/group_editor.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/dtcm/group_editor.c
b/cde/programs/dtcm/dtcm/group_editor.c
index 6c6b1749fce87876218dbb272320044843eaf8e9..cb51f948feaab6eb74f63d455f0ddeaf423ccf61 100644
(file)
--- a/
cde/programs/dtcm/dtcm/group_editor.c
+++ b/
cde/programs/dtcm/dtcm/group_editor.c
@@
-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);