remove redundant memset() call - Mailing list pgsql-hackers

From Zhihong Yu
Subject remove redundant memset() call
Date
Msg-id CALNJ-vT5qRucrFMPSzQyAWods1b4MnNPG-M=_ZUzh1SoTh0vNw@mail.gmail.com
Whole thread Raw
Responses Re: remove redundant memset() call  (Bruce Momjian <bruce@momjian.us>)
List 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

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Suppressing useless wakeups in walreceiver
Next
From: Nathan Bossart
Date:
Subject: Re: archive modules