]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Initialize variable to placate compiler.
authorNathan Bossart <nathan@postgresql.org>
Fri, 13 Mar 2026 16:32:14 +0000 (11:32 -0500)
committerNathan Bossart <nathan@postgresql.org>
Fri, 13 Mar 2026 16:32:14 +0000 (11:32 -0500)
commitbe43c48c22cc8a4f55258e5230d23909e13c5efd
tree9c860b59a0f389015285633457f2f35ebe107a42
parente0a3a3fd5361913502ff696ecf47770ca55975ae
Initialize variable to placate compiler.

Since commit 5883ff30b0, some compilers have been warning that the
rtekind variable in unique_nonjoin_rtekind() may be used
uninitialized.  There doesn't appear to be any actual risk, so
let's just initialize it to something to silence the compiler
warnings.

Author: Sami Imseih <samimseih@gmail.com>
Discussion: https://postgr.es/m/CAA5RZ0sieVNfniCKMDdDjuXGd1OuzMQfTS5%3D9vX3sa-iiujKUA%40mail.gmail.com
contrib/pg_plan_advice/pgpa_scan.c