pgsql: Silence another "may be used uninitialized" compiler warning.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Silence another "may be used uninitialized" compiler warning.
Date: 2026-09-24 21:58:12
Message-ID: E1x9rSG-000000017yh-0Qar@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/1812498.1790279465@sss.pgh.pa.us
Backpatch-through: 14

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2c10c2ce4d7bcd57543a49ab402af02a39724e0a

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

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Langote 2026-09-25 01:00:23 pgsql: Fix missed pgindent in varlena.c
Previous Message Nathan Bossart 2026-09-24 19:47:50 pgsql: Convert SISeg->maxMsgNum to an atomic variable.