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:
8f5048d
)
dtcm: Coverity 88350
author
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 18:00:54 +0000
(19:00 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Fri, 13 Jul 2018 18:00:54 +0000
(19:00 +0100)
cde/programs/dtcm/server/cmsconvert.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/server/cmsconvert.c
b/cde/programs/dtcm/server/cmsconvert.c
index 93ca34c4a19c5d92897cb24ac5d7702c41585bf4..1a39fde6c12b12e7129ef88ed0a11b988a6bb403 100644
(file)
--- a/
cde/programs/dtcm/server/cmsconvert.c
+++ b/
cde/programs/dtcm/server/cmsconvert.c
@@
-752,7
+752,7
@@
_AttrsToAbbrAppt(uint size, cms_attribute *attrs, Abb_Appt_4 *appt)
CSA_return_code stat = CSA_SUCCESS;
char *ptr;
time_t endtick;
- int i, typeindex, stypeindex = -1, enddateindex = -1;
+ int i, typeindex
= 0
, stypeindex = -1, enddateindex = -1;
char buf[BUFSIZ];
for (i = 0; i < size && stat == CSA_SUCCESS; i++) {