Re: Annoying warning in SerializeClientConnectionInfo - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Annoying warning in SerializeClientConnectionInfo
Date
Msg-id aJ2PAhOqhsC7eDXj@paquier.xyz
Whole thread Raw
In response to Re: Annoying warning in SerializeClientConnectionInfo  (Jacob Champion <jacob.champion@enterprisedb.com>)
Responses Re: Annoying warning in SerializeClientConnectionInfo
List pgsql-hackers
On Wed, Aug 13, 2025 at 08:30:19AM -0700, Jacob Champion wrote:
> On Wed, Aug 13, 2025 at 8:28 AM Andres Freund <andres@anarazel.de> wrote:
>> I think we shouldn't add the attribute to the declaration, just to the
>> function. The caller doesn't need to know that it's unused, it's purely a
>> question of the specific implementation that the attribute is unused.
>
> +1

Okay, done so only in the function, then.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Support tid range scan in parallel?
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: meson: Add _static and _shared suffixes to the library names