[PATCH] Remove dead code in pgcrypto

Started by Aleksander Alekseev3 months ago2 messageshackers
Jump to latest
#1Aleksander Alekseev
aleksander@tigerdata.com

Hi,

I noticed that PGP_Context.mdc_checked field is write-only and not
used for anything. Since it's marked as an internal variable I'm
pretty confident it's safe to remove it. The patch is attached.

--
Best regards,
Aleksander Alekseev

Attachments:

t253398_1
v1-0001-pgcrypto-remove-unused-PGP_Context.mdc_checked-fi.patchtext/x-patch; charset=US-ASCII; name=v1-0001-pgcrypto-remove-unused-PGP_Context.mdc_checked-fi.patchDownload+0-3
#2Daniel Gustafsson
daniel@yesql.se
In reply to: Aleksander Alekseev (#1)
Re: [PATCH] Remove dead code in pgcrypto

On 13 Aug 2026, at 12:24, Aleksander Alekseev <aleksander@tigerdata.com> wrote:

I noticed that PGP_Context.mdc_checked field is write-only and not
used for anything. Since it's marked as an internal variable I'm
pretty confident it's safe to remove it. The patch is attached.

Agreed, will remove.

--
Daniel Gustafsson