Re: Warning in geqo_main.c from clang 13

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-01-23T16:12:40Z
Lists: pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> On Sun, Jan 23, 2022 at 11:34 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> We're starting to see more buildfarm animals producing this warning,
>> so I took another look, and thought of a slightly less invasive way to
>> silence it.  I confirmed this works with clang 13.0.0 on Fedora 35.

> LGTM.  Tested on bleeding edge clang 14.

Pushed, thanks.

			regards, tom lane



Commits

  1. Suppress variable-set-but-not-used warning from clang 13.