1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtmail: fix vla warning

This commit is contained in:
Jon Trulson 2021-12-19 11:48:35 -07:00
parent bbba562a22
commit 2559a96ee8

View file

@ -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++;