dtmailpr: fix vla warning
authorJon Trulson <jon@radscan.com>
Thu, 21 Nov 2019 21:13:48 +0000 (14:13 -0700)
committerJon Trulson <jon@radscan.com>
Thu, 21 Nov 2019 21:13:48 +0000 (14:13 -0700)
cde/programs/dtmail/dtmailpr/message.C

index 3fd9454927a0f4ffa05515309c5d160abd4e21e7..4f6aea6948d649ec6969bdf95a9b395b90ee0578 100644 (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++;