Re: tapeblocks is uninitialized in logtape.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Jaime Casanova <jaime(dot)casanova(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tapeblocks is uninitialized in logtape.c
Date: 2018-02-14 20:25:35
Message-ID: 24762.1518639935@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:
> On 2/13/18 23:10, Tom Lane wrote:
>> FWIW, I'm not seeing that. What compiler are you using exactly?

> This warning comes from using -Og instead of -O2.
> It's the only such warning, so it would be nice to silence it, because
> using -Og is somewhat useful.

There's a different one of the eight (I forget which exactly) that is
the only warning I see when building on some BSD platforms I have laying
about. So I think they're probably all annoying, just to different
people. I'm inclined to pick up Jaime's patch to silence all of them.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-02-14 20:30:40 Re: reorganizing partitioning code (was: Re: [HACKERS] path toward faster partition pruning)
Previous Message Alvaro Herrera 2018-02-14 20:25:21 Re: reorganizing partitioning code (was: Re: [HACKERS] path toward faster partition pruning)