We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 692bd09 commit 9aa53bbCopy full SHA for 9aa53bb
src/backend/utils/adt/array_userfuncs.c
@@ -138,8 +138,7 @@ array_prepend(PG_FUNCTION_ARGS)
138
Datum newelem;
139
bool isNull;
140
ArrayType *result;
141
- int *dimv,
142
- *lb;
+ int *lb;
143
int indx;
144
ArrayMetaState *my_extra;
145
@@ -154,7 +153,6 @@ array_prepend(PG_FUNCTION_ARGS)
154
153
{
155
/* prepend newelem */
156
lb = ARR_LBOUND(v);
157
- dimv = ARR_DIMS(v);
158
indx = lb[0] - 1;
159
160
/* overflow? */
0 commit comments