Re: Annoying warning in SerializeClientConnectionInfo
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Jacob Champion <jacob.champion@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org, Andy Fan <zhihuifan1213@163.com>
Date: 2025-08-14T07:23:46Z
Lists: 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
Commits
-
Fix compilation warning with SerializeClientConnectionInfo()
- 791506f59e48 16.11 landed
- 3e6741e8dd5b 17.7 landed
- 891dbd17cef0 18.0 landed
- 6304256e79c7 19 (unreleased) landed