Re: pgsql: Replace many MemSet calls with struct initialization

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Replace many MemSet calls with struct initialization
Date: 2022-07-16 11:59:32
Message-ID: 20220716115932.GV18011@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Sat, Jul 16, 2022 at 06:53:16AM +0000, Peter Eisentraut wrote:
> Replace many MemSet calls with struct initialization

This failed
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lapwing&dt=2022-07-16%2008%3A40%3A14

It avoids the warning here to use {{0}}.
But it doesn't seem worth it to use that just to appease the compiler.

We ran into this before here: 20211202033145(dot)GK17618(at)telsasoft(dot)com

--
Justin

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Justin Pryzby 2022-07-16 12:17:23 Re: pgsql: Log details for client certificate failures
Previous Message Peter Eisentraut 2022-07-16 11:57:51 pgsql: Attempt to fix compiler warning on old compiler