Skip to content
Snippets Groups Projects
Commit cdd61237 authored by Robert Haas's avatar Robert Haas
Browse files

Remove superfluous variable.

Reported by Peter Eisentraut.
parent 6ba77bce
Branches
Tags
No related merge requests found
......@@ -123,7 +123,6 @@ CheckIndexCompatible(Oid oldId,
HeapTuple tuple;
Form_pg_am accessMethodForm;
bool amcanorder;
RegProcedure amoptions;
int16 *coloptions;
IndexInfo *indexInfo;
int numberOfAttributes;
......@@ -158,7 +157,6 @@ CheckIndexCompatible(Oid oldId,
accessMethodId = HeapTupleGetOid(tuple);
accessMethodForm = (Form_pg_am) GETSTRUCT(tuple);
amcanorder = accessMethodForm->amcanorder;
amoptions = accessMethodForm->amoptions;
ReleaseSysCache(tuple);
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment