silence compiler warning in brin.c

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: silence compiler warning in brin.c
Date: 2022-06-01 16:35:37
Message-ID: 20220601163537.GA2331988@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

I'm seeing a compiler warning in brin.c with an older version of gcc.
Specifically, it seems worried that a variable might not be initialized.
AFAICT there is no real risk, so I've attached a small patch to silence the
warning.

--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
silence_compiler_warning.patch text/x-diff 427 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhihong Yu 2022-06-01 16:46:52 Re: silence compiler warning in brin.c
Previous Message Tom Lane 2022-06-01 15:40:42 Re: plperl tests fail with latest Perl 5.36