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:37
Message-ID: E1lBo9R-00061f-Ot@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
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/26812bcaa664b17843b3dbc8803551d720109b6e

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

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2021-02-16 00:23:58 pgsql: Fix compiler warning in back branches (9.6, 10).
Previous Message Tom Lane 2021-02-15 15:18:14 pgsql: Simplify loop logic in nodeIncrementalSort.c.