pgsql: Suppress uninitialized-variable warning from a61b1f748.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress uninitialized-variable warning from a61b1f748.
Date: 2022-12-27 23:08:02
Message-ID: E1pAJ3B-000jMZ-MM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress uninitialized-variable warning from a61b1f748.

Some compilers complain about sub_rteperminfos not being
initialized, evidently because they don't detect that it
is only used and set if isGeneralSelect is true.
Make it follow the long-established pattern for its
sibling variable sub_rtable.

Per reports from Pavel Stehule and the buildfarm.

Discussion: https://postgr.es/m/CAFj8pRDOvGOi-n616kM0Cc7qSbg_nGoS=-haB+D785sUXADqSg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/adb5c32eb53e1ffdc5c954aafcc5bc9ed93f3de6

Modified Files
--------------
src/backend/parser/analyze.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-12-28 14:41:11 pgsql: Reorder some object files in makefiles
Previous Message Tom Lane 2022-12-27 19:51:02 pgsql: Convert hstore_in to report errors softly.