]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Avoid uninitialized-variable warnings from older compilers.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Oct 2025 14:33:55 +0000 (10:33 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Oct 2025 14:33:55 +0000 (10:33 -0400)
commit71540dcdcb2239d9398c586615761d5ea424aaf0
tree1c37ee193df6775226c1e1c10e67b9cb9b056613
parent36fd8bde1b77191eaf7d3499052c0636b6b93a87
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.
src/backend/executor/nodeWindowAgg.c