pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix some compiler warnings in aset.c and generation.c
Date: Wed, 04 Jan 2023 23:56:45 +0000
Message-ID: <E1pDDcj-0024mM-4g@gemulon.postgresql.org> (raw)

Fix some compiler warnings in aset.c and generation.c

This fixes a couple of unused variable warnings that could be seen when
compiling with MEMORY_CONTEXT_CHECKING but not USE_ASSERT_CHECKING.
Defining MEMORY_CONTEXT_CHECKING without asserts is a little unusual,
however, we shouldn't be producing any warnings from such a build.

Author: Richard Guo
Discussion: https://postgr.es/m/CAMbWs4_D-vgLEh7eO47p=73u1jWO78NWf6Qfv1FndY1kG-Q-jA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b82557ecc2ebbf649142740a1c5ce8d19089f620

Modified Files
--------------
src/backend/utils/mmgr/aset.c       | 4 +---
src/backend/utils/mmgr/generation.c | 9 ++++++---
2 files changed, 7 insertions(+), 6 deletions(-)



Message-ID: <E1pDDcj-0024mM-4g@gemulon.postgresql.org>
Permalink:  ../E1pDDcj-0024mM-4g@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pDDcj-0024mM-4g@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org
  Subject: Re: pgsql: Fix some compiler warnings in aset.c and generation.c
  In-Reply-To: <E1pDDcj-0024mM-4g@gemulon.postgresql.org>
  References: <E1pDDcj-0024mM-4g@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox