pgsql: Initialize variable to placate compiler.

Started by Nathan Bossart9 months ago1 messagescommitters
Jump to latest
#1Nathan Bossart
nathan@postgresql.org

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: /messages/by-id/CAA5RZ0sieVNfniCKMDdDjuXGd1OuzMQfTS5=9vX3sa-iiujKUA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/be43c48c22cc8a4f55258e5230d23909e13c5efd

Modified Files
--------------
contrib/pg_plan_advice/pgpa_scan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)