Skip to content

Commit de5be1d

Browse files
committed
unused variable removed
1 parent 54dd048 commit de5be1d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pg_pathman.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,7 @@ static void
311311
handle_modification_query(Query *parse)
312312
{
313313
PartRelationInfo *prel;
314-
List *ranges,
315-
*wrappers = NIL;
314+
List *ranges;
316315
RangeTblEntry *rte;
317316
WrapperNode *wrap;
318317
Expr *expr;
@@ -336,7 +335,6 @@ handle_modification_query(Query *parse)
336335

337336
/* Parse syntax tree and extract partition ranges */
338337
wrap = walk_expr_tree(expr, prel);
339-
wrappers = lappend(wrappers, wrap);
340338
ranges = irange_list_intersect(ranges, wrap->rangeset);
341339

342340
/* If only one partition is affected then substitute parent table with partition */

0 commit comments

Comments
 (0)