1
0
Fork 0
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:
Jon Trulson 2018-03-31 18:55:56 -06:00
parent 05773d7499
commit 77d10002bf

View file

@ -2414,7 +2414,7 @@ MsgScrollingList::updateListItems(int current,
nmsgs = _msgs->length(); nmsgs = _msgs->length();
newList = new XmString[nmsgs]; 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 // Loop through _msgs and create new strings to display in the
// scrolling list. This is inefficient and dominates the time // scrolling list. This is inefficient and dominates the time