mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtmail/MsgScrollingList.C: coverity CID 87360; memset no effect
This commit is contained in:
parent
05773d7499
commit
77d10002bf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue