From 2559a96ee8e5f937004ceffa4aaa263bea1ab726 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sun, 19 Dec 2021 11:48:35 -0700 Subject: [PATCH] dtmail: fix vla warning --- cde/programs/dtmail/dtmail/DmxMessage.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cde/programs/dtmail/dtmail/DmxMessage.C b/cde/programs/dtmail/dtmail/DmxMessage.C index 0f6d0f861..b14a855b1 100644 --- a/cde/programs/dtmail/dtmail/DmxMessage.C +++ b/cde/programs/dtmail/dtmail/DmxMessage.C @@ -566,9 +566,9 @@ DmxMsg::parse (void) if (handleError (env, "getContents") == DTM_TRUE) exit (1); - bodyParts = new (DtMail::BodyPart *[bc]); + bodyParts = new DtMail::BodyPart *[bc]; cachedValues = DTM_TRUE; - + // cache values bodyParts [0] = part; numBPs++;