pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Avoid uninitialized-variable warnings from older compilers.
Date: Thu, 09 Oct 2025 14:34:05 +0000
Message-ID: <E1v6riX-000qvD-04@gemulon.postgresql.org> (raw)

Avoid uninitialized-variable warnings from older compilers.

Some of the buildfarm is still unhappy with WinGetFuncArgInPartition
even after 2273fa32b.  While it seems to be just very old compilers,
we can suppress the warnings and arguably make the code more readable
by not initializing these variables till closer to where they are
used.  While at it, make a couple of cosmetic comment improvements.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/71540dcdcb2239d9398c586615761d5ea424aaf0

Modified Files
--------------
src/backend/executor/nodeWindowAgg.c | 34 ++++++++++++++++------------------
1 file changed, 16 insertions(+), 18 deletions(-)



Message-ID: <E1v6riX-000qvD-04@gemulon.postgresql.org>
Permalink:  ../E1v6riX-000qvD-04@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1v6riX-000qvD-04@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Avoid uninitialized-variable warnings from older compilers.
  In-Reply-To: <E1v6riX-000qvD-04@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox