| From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
|---|---|
| To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
| Cc: | pgsql-committers <pgsql-committers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: pgsql: Silence compiler warning in nbtinsert.c. |
| Date: | 2020-02-26 23:16:49 |
| Message-ID: | CAH2-Wzk7hn9VAXrYx+6hpFKtNWtu5tUv-R59oymQApCjUPVH1g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
On Wed, Feb 26, 2020 at 3:07 PM Alvaro Herrera <alvherre(at)2ndquadrant(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2020-02-27 02:23:33 | pgsql: createdb: Fix quoting of --encoding, --lc-ctype and --lc-collate |
| Previous Message | Peter Geoghegan | 2020-02-26 23:16:45 | pgsql: Silence another compiler warning in nbtinsert.c. |