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:
05773d7
)
dtmail/MsgScrollingList.C: coverity CID 87360; memset no effect
author
Jon Trulson
<jon@radscan.com>
Sun, 1 Apr 2018 00:55:56 +0000
(18:55 -0600)
committer
Jon Trulson
<jon@radscan.com>
Sun, 1 Apr 2018 00:55:56 +0000
(18:55 -0600)
cde/programs/dtmail/dtmail/MsgScrollingList.C
patch
|
blob
|
history
diff --git
a/cde/programs/dtmail/dtmail/MsgScrollingList.C
b/cde/programs/dtmail/dtmail/MsgScrollingList.C
index a2deab761f328ea83f8f424f9b713c1efd37071c..600615b8e260645660d0d312e31cf3f4c06ffea3 100644
(file)
--- a/
cde/programs/dtmail/dtmail/MsgScrollingList.C
+++ b/
cde/programs/dtmail/dtmail/MsgScrollingList.C
@@
-2414,7
+2414,7
@@
MsgScrollingList::updateListItems(int current,
nmsgs = _msgs->length();
newList = new XmString[nmsgs];
- memset (newList,
'0'
, nmsgs * sizeof (XmString *));
+ memset (newList,
0
, nmsgs * sizeof (XmString *));
// Loop through _msgs and create new strings to display in the
// scrolling list. This is inefficient and dominates the time