From e860042d3ce4f0fcd29971b44d975928c58c534b Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 5 Nov 2023 08:35:54 -0800 Subject: [PATCH] Improved variable name [skip ci] --- src/vector.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vector.c b/src/vector.c index 388e729..eaefc44 100644 --- a/src/vector.c +++ b/src/vector.c @@ -442,12 +442,12 @@ PGDLLEXPORT PG_FUNCTION_INFO_V1(vector); Datum vector(PG_FUNCTION_ARGS) { - Vector *arg = PG_GETARG_VECTOR_P(0); + Vector *vec = PG_GETARG_VECTOR_P(0); int32 typmod = PG_GETARG_INT32(1); - CheckExpectedDim(typmod, arg->dim); + CheckExpectedDim(typmod, vec->dim); - PG_RETURN_POINTER(arg); + PG_RETURN_POINTER(vec); } /*