Re: Annoying warning in SerializeClientConnectionInfo

From: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers(at)postgresql(dot)org, Andy Fan <zhihuifan1213(at)163(dot)com>
Subject: Re: Annoying warning in SerializeClientConnectionInfo
Date: 2025-08-13 15:30:19
Message-ID: CAOYmi+npbocDwvTuwbO9LB+uzF_H8f33rJ9HYMvVa=3PFDCsfw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 13, 2025 at 8:28 AM Andres Freund <andres(at)anarazel(dot)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

--Jacob

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2025-08-13 15:50:10 Re: [PATCH] Proposal: Improvements to PDF stylesheet and table column widths
Previous Message Bruce Momjian 2025-08-13 15:27:02 Re: Parallel Apply