diff options
Diffstat (limited to 'src/backend/optimizer/util/tlist.c')
-rw-r--r-- | src/backend/optimizer/util/tlist.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/optimizer/util/tlist.c b/src/backend/optimizer/util/tlist.c index 7ef7f34d8b5..482350285a0 100644 --- a/src/backend/optimizer/util/tlist.c +++ b/src/backend/optimizer/util/tlist.c @@ -1139,8 +1139,7 @@ split_pathtarget_walker(Node *node, split_pathtarget_context *context) context->current_depth = 0; context->current_sgref = 0; /* subexpressions are not sortgroup items */ - (void) expression_tree_walker(node, split_pathtarget_walker, - (void *) context); + (void) expression_tree_walker(node, split_pathtarget_walker, context); /* Depth is one more than any SRF below it */ srf_depth = context->current_depth + 1; @@ -1181,8 +1180,7 @@ split_pathtarget_walker(Node *node, split_pathtarget_context *context) * examine its inputs. */ context->current_sgref = 0; /* subexpressions are not sortgroup items */ - return expression_tree_walker(node, split_pathtarget_walker, - (void *) context); + return expression_tree_walker(node, split_pathtarget_walker, context); } /* |