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:
1d03747
)
Remove needless zeroing after calloc
author
Michael McConville
<mmcco@mykolab.com>
Sat, 9 Dec 2017 09:33:44 +0000
(
02:33
-0700)
committer
Michael McConville
<mmcco@mykolab.com>
Sat, 9 Dec 2017 09:33:44 +0000
(
02:33
-0700)
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 62980542367813ab0369b7c1aa87c43a614aea6c..d45431d4335e70726b7788ac9c5831f2c9af1f3f 100644
(file)
--- a/
cde/programs/dtcm/dtcm/group_editor.c
+++ b/
cde/programs/dtcm/dtcm/group_editor.c
@@
-315,7
+315,6
@@
get_mail_address_list(Calendar *c) {
}
address = calloc(address_len+1, 1);
- memset(address, 0, address_len);
for (i = 0; i < pos_cnt; i++) {
ad = (Access_data *)CmDataListGetData(ge->access_data,