Remove unused variable.

This commit is contained in:
Julien Rouhaud 2023-05-11 13:56:31 +08:00
parent 9385d5e25e
commit 759306b32f

View file

@ -1436,8 +1436,7 @@ hypopg_get_indexdef(PG_FUNCTION_ARGS)
hypoIndex *entry = NULL;
ListCell *lc;
List *context;
int keyno,
cpt = 0;
int keyno;
foreach(lc, hypoIndexes)
{
@ -1508,8 +1507,6 @@ hypopg_get_indexdef(PG_FUNCTION_ARGS)
keycoltype = exprType(indexkey);
keycolcollation = exprCollation(indexkey);
cpt++;
}
/* Add collation, if not default for column */