dtmailpr: fix vla warning

This commit is contained in:
Jon Trulson
2019-11-21 14:13:48 -07:00
parent c329d5cfd7
commit b71a319133

View File

@@ -449,9 +449,9 @@ DmxMsg::parse (void)
if (handleError (env, "getContents") == B_TRUE)
exit (1);
bodyParts = new (DtMail::BodyPart *[bc]);
bodyParts = new DtMail::BodyPart *[bc];
cachedValues = B_TRUE;
// cache values
bodyParts [0] = part;
numBPs++;