pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: er <er@xs4all.nl>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Refactor attribute mappings used in logical tuple conversion
Date: Wed, 18 Dec 2019 17:15:14 +0900
Message-ID: <20191218081514.GA325369@paquier.xyz> (raw)
In-Reply-To: <b7ad911d3eaa29af9fcdb9ccb26c363c@xs4all.nl>
References: <E1ihTiP-0001A2-Lk@gemulon.postgresql.org>
	<b7ad911d3eaa29af9fcdb9ccb26c363c@xs4all.nl>

On Wed, Dec 18, 2019 at 08:43:47AM +0100, er wrote:
> gcc (9.2.0) mutters this:
> 
> tupconvert.c: In function ‘execute_attr_map_tuple’:
> tupconvert.c:146:8: warning: unused variable ‘outnatts’ [-Wunused-variable]
>   146 |  int   outnatts = map->outdesc->natts;
>       |        ^~~~~~~~
> 
> (Otherwise compiles & runs fine.)

This one could use a PG_USED_FOR_ASSERTS_ONLY to work properly, but it
is more simple to just remove the variable.  Thanks for the report,
Erik.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (7+ messages)  latest in thread

Message-ID: <20191218081514.GA325369@paquier.xyz>
Permalink:  ../20191218081514.GA325369@paquier.xyz/
Also on:    postgresql.org/message-id/20191218081514.GA325369@paquier.xyz

 · 

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: michael@paquier.xyz, er@xs4all.nl
  Subject: Re: pgsql: Refactor attribute mappings used in logical tuple conversion
  In-Reply-To: <20191218081514.GA325369@paquier.xyz>
  References: <E1ihTiP-0001A2-Lk@gemulon.postgresql.org> <b7ad911d3eaa29af9fcdb9ccb26c363c@xs4all.nl> <20191218081514.GA325369@paquier.xyz>

* 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