pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Silence compiler warning in nbtinsert.c.
3+ messages / 2 participants
[nested] [flat]
* pgsql: Silence compiler warning in nbtinsert.c.
@ 2020-02-26 21:18 Peter Geoghegan <pg@bowt.ie>
2020-02-26 23:07 ` Re: pgsql: Silence compiler warning in nbtinsert.c. Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 1 reply; 3+ messages in thread
From: Peter Geoghegan @ 2020-02-26 21:18 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Silence compiler warning in nbtinsert.c.
Per buildfarm member longfin.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2d8a6fad18fcec1850b79ddcf3a0032058d86715
Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Silence compiler warning in nbtinsert.c.
2020-02-26 21:18 pgsql: Silence compiler warning in nbtinsert.c. Peter Geoghegan <pg@bowt.ie>
@ 2020-02-26 23:07 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2020-02-26 23:16 ` Re: pgsql: Silence compiler warning in nbtinsert.c. Peter Geoghegan <pg@bowt.ie>
0 siblings, 1 reply; 3+ messages in thread
From: Alvaro Herrera @ 2020-02-26 23:07 UTC (permalink / raw)
To: Peter Geoghegan <pg@bowt.ie>; +Cc: pgsql-committers@lists.postgresql.org
On 2020-Feb-26, Peter Geoghegan wrote:
> Silence compiler warning in nbtinsert.c.
>
> Per buildfarm member longfin.
I'm seeing another one:
/pgsql/source/master/src/backend/access/nbtree/nbtinsert.c: In function '_bt_insertonpg':
/pgsql/source/master/src/backend/access/nbtree/nbtinsert.c:1231:4: warning: 'oposting' may be used uninitialized in this function [-Wmaybe-uninitialized]
memcpy(oposting, nposting, MAXALIGN(IndexTupleSize(nposting)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Silence compiler warning in nbtinsert.c.
2020-02-26 21:18 pgsql: Silence compiler warning in nbtinsert.c. Peter Geoghegan <pg@bowt.ie>
2020-02-26 23:07 ` Re: pgsql: Silence compiler warning in nbtinsert.c. Alvaro Herrera <alvherre@2ndquadrant.com>
@ 2020-02-26 23:16 ` Peter Geoghegan <pg@bowt.ie>
0 siblings, 0 replies; 3+ messages in thread
From: Peter Geoghegan @ 2020-02-26 23:16 UTC (permalink / raw)
To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
On Wed, Feb 26, 2020 at 3:07 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> I'm seeing another one:
>
> /pgsql/source/master/src/backend/access/nbtree/nbtinsert.c: In function '_bt_insertonpg':
> /pgsql/source/master/src/backend/access/nbtree/nbtinsert.c:1231:4: warning: 'oposting' may be used uninitialized in this function [-Wmaybe-uninitialized]
> memcpy(oposting, nposting, MAXALIGN(IndexTupleSize(nposting)));
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixed - Thanks.
--
Peter Geoghegan
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-02-26 23:16 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26 21:18 pgsql: Silence compiler warning in nbtinsert.c. Peter Geoghegan <pg@bowt.ie>
2020-02-26 23:07 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2020-02-26 23:16 ` Peter Geoghegan <pg@bowt.ie>
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