From b71a319133abc9c4f14d496139183412c7c5c944 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Thu, 21 Nov 2019 14:13:48 -0700 Subject: [PATCH] dtmailpr: fix vla warning --- cde/programs/dtmail/dtmailpr/message.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cde/programs/dtmail/dtmailpr/message.C b/cde/programs/dtmail/dtmailpr/message.C index 3fd94549..4f6aea69 100644 --- a/cde/programs/dtmail/dtmailpr/message.C +++ b/cde/programs/dtmail/dtmailpr/message.C @@ -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++; -- 2.25.1