diff --git a/contrib/pg_plan_advice/pgpa_scan.c b/contrib/pg_plan_advice/pgpa_scan.c index 14bde3e149a..5f210f2b725 100644 --- a/contrib/pg_plan_advice/pgpa_scan.c +++ b/contrib/pg_plan_advice/pgpa_scan.c @@ -243,7 +243,7 @@ unique_nonjoin_rtekind(Bitmapset *relids, List *rtable) { int rti = -1; bool first = true; - RTEKind rtekind; + RTEKind rtekind = RTE_RELATION; /* silence compiler warning */ Assert(relids != NULL);