remove redundant memset() call

From: Zhihong Yu <zyu(at)yugabyte(dot)com>
To: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: remove redundant memset() call
Date: 2022-10-13 17:55:08
Message-ID: CALNJ-vT5qRucrFMPSzQyAWods1b4MnNPG-M=_ZUzh1SoTh0vNw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
I was looking at combo_init in contrib/pgcrypto/px.c .

There is a memset() call following palloc0() - the call is redundant.

Please see the patch for the proposed change.

Thanks

Attachment Content-Type Size
remove-redundant-memset-call.patch application/octet-stream 388 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2022-10-13 18:24:08 Re: archive modules
Previous Message Nathan Bossart 2022-10-13 17:45:06 Re: Suppressing useless wakeups in walreceiver