From cd4e8caaa0eb5c3d3b12a45b29035e7a4bdfa4a8 Mon Sep 17 00:00:00 2001 From: David Rowley Date: Fri, 7 Oct 2022 13:13:27 +1300 Subject: Fix final warnings produced by -Wshadow=compatible-local I thought I had these in d8df67bb1, but per report from Andres Freund, I missed some. Reviewed-by: Andres Freund Discussion: https://postgr.es/m/20221005214052.c4tkudawyp5wxt3c@awork3.anarazel.de --- contrib/postgres_fdw/deparse.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'contrib/postgres_fdw/deparse.c') diff --git a/contrib/postgres_fdw/deparse.c b/contrib/postgres_fdw/deparse.c index 09f37fb77a8..95247656504 100644 --- a/contrib/postgres_fdw/deparse.c +++ b/contrib/postgres_fdw/deparse.c @@ -943,8 +943,6 @@ foreign_expr_walker(Node *node, */ if (agg->aggorder) { - ListCell *lc; - foreach(lc, agg->aggorder) { SortGroupClause *srt = (SortGroupClause *) lfirst(lc); -- cgit v1.2.3