dtmail: fix vla warning
This commit is contained in:
@@ -566,9 +566,9 @@ DmxMsg::parse (void)
|
|||||||
if (handleError (env, "getContents") == DTM_TRUE)
|
if (handleError (env, "getContents") == DTM_TRUE)
|
||||||
exit (1);
|
exit (1);
|
||||||
|
|
||||||
bodyParts = new (DtMail::BodyPart *[bc]);
|
bodyParts = new DtMail::BodyPart *[bc];
|
||||||
cachedValues = DTM_TRUE;
|
cachedValues = DTM_TRUE;
|
||||||
|
|
||||||
// cache values
|
// cache values
|
||||||
bodyParts [0] = part;
|
bodyParts [0] = part;
|
||||||
numBPs++;
|
numBPs++;
|
||||||
|
|||||||
Reference in New Issue
Block a user