1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-21 12:05:57 +03:00

Remove unused parameter

unused since 93ee38eade1b2b4964354b95b01b09e17d6f098d

Discussion: https://www.postgresql.org/message-id/flat/511bb100-f829-ba21-2f10-9f952ec06ead%402ndquadrant.com
This commit is contained in:
Peter Eisentraut 2020-09-04 08:02:58 +02:00
parent ac15b499f7
commit 96cfcadd26

View File

@ -259,7 +259,7 @@ struct user_args
* ------------------------------------------------------ * ------------------------------------------------------
*/ */
static Datum static Datum
bt_page_print_tuples(FuncCallContext *fctx, struct user_args *uargs) bt_page_print_tuples(struct user_args *uargs)
{ {
Page page = uargs->page; Page page = uargs->page;
OffsetNumber offset = uargs->offset; OffsetNumber offset = uargs->offset;
@ -498,7 +498,7 @@ bt_page_items(PG_FUNCTION_ARGS)
if (fctx->call_cntr < fctx->max_calls) if (fctx->call_cntr < fctx->max_calls)
{ {
result = bt_page_print_tuples(fctx, uargs); result = bt_page_print_tuples(uargs);
uargs->offset++; uargs->offset++;
SRF_RETURN_NEXT(fctx, result); SRF_RETURN_NEXT(fctx, result);
} }
@ -582,7 +582,7 @@ bt_page_items_bytea(PG_FUNCTION_ARGS)
if (fctx->call_cntr < fctx->max_calls) if (fctx->call_cntr < fctx->max_calls)
{ {
result = bt_page_print_tuples(fctx, uargs); result = bt_page_print_tuples(uargs);
uargs->offset++; uargs->offset++;
SRF_RETURN_NEXT(fctx, result); SRF_RETURN_NEXT(fctx, result);
} }