pgsql: Silence another "may be used uninitialized" compiler warning. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Silence another "may be used uninitialized" compiler warning.
Date
Msg-id E1x9rSG-000000017yw-0zOf@gemulon.postgresql.org
Whole thread
List pgsql-committers
Silence another "may be used uninitialized" compiler warning.

gcc 12.5.0 complains about this instance in LookupFuncWithArgs().
This is the same type of problem fixed in commit f04781df5, and
it's just as obscure why this compiler version picks on this case
when others don't.  Still, silence it in the same way as f04781df5.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1812498.1790279465@sss.pgh.pa.us
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5a7a6788c96abf583de3f4dc4f8fdcdb35a08172

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


pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: Use unsigned integers for sinval message numbers.
Next
From: Amit Langote
Date:
Subject: pgsql: Fix missed pgindent in varlena.c