dtmail/MsgScrollingList.C: coverity CID 87360; memset no effect
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user