pgsql: Fix compiler warning in back branches (9.6, 10).

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix compiler warning in back branches (9.6, 10).
Date: 2021-02-16 00:23:58
Message-ID: E1lBo9m-00062J-3Q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix compiler warning in back branches (9.6, 10).

Back-patch a tiny bit of commit fbb2e9a0 into 9.6 and 10, to silence an
uninitialized variable warning from GCC 10.2. Seen on buildfarm member
handfish, and my own development workflow where I like to use -Werror.

Discussion: https://postgr.es/m/CA%2BhUKGJRcwvK86Uf5t-FrTekZjqHtpv3u%3D3MuBg8Zw8R933Mqg%40mail.gmail.com

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/618d139f82d4222df796e989de3c4c4de0359d7b

Modified Files
--------------
src/backend/utils/misc/guc.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2021-02-16 01:00:59 pgsql: Remove backwards compat ugliness in snapbuild.c.
Previous Message Thomas Munro 2021-02-16 00:23:37 pgsql: Fix compiler warning in back branches (9.6, 10).