pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Try to convince gcc that TupleQueueRemap never falls off the end
2+ messages / 2 participants
[nested] [flat]

* pgsql: Try to convince gcc that TupleQueueRemap never falls off the end
@ 2015-11-07 04:06  Robert Haas <rhaas@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: Robert Haas @ 2015-11-07 04:06 UTC (permalink / raw)
  To: pgsql-committers

Try to convince gcc that TupleQueueRemap never falls off the end.

Without this, MacOS gcc version 4.2.1 isn't convinced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8d7396e5092f1bc6433a38ccabaf88c8c681de11

Modified Files
--------------
src/backend/executor/tqueue.c |    2 ++
1 file changed, 2 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgsql: Try to convince gcc that TupleQueueRemap never falls off the end
@ 2015-11-07 14:38  Peter Eisentraut <peter_e@gmx.net>
  parent: Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2015-11-07 14:38 UTC (permalink / raw)
  To: Robert Haas <rhaas@postgresql.org>; pgsql-committers

On 11/6/15 11:06 PM, Robert Haas wrote:
> Try to convince gcc that TupleQueueRemap never falls off the end.
> 
> Without this, MacOS gcc version 4.2.1 isn't convinced.

I still see some compiler warnings from this:

tqueue.c: In function ‘tqueueReceiveSlot’:
tqueue.c:124:18: warning: variable ‘tup’ set but not used
[-Wunused-but-set-variable]
tqueue.c: In function ‘TupleQueueRemapTuple’:
tqueue.c:612:7: warning: variable ‘dirty’ set but not used
[-Wunused-but-set-variable]



-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-11-07 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-11-07 04:06 pgsql: Try to convince gcc that TupleQueueRemap never falls off the end Robert Haas <rhaas@postgresql.org>
2015-11-07 14:38 ` Peter Eisentraut <peter_e@gmx.net>

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