Commit cdd61237 authored by Robert Haas's avatar Robert Haas

Remove superfluous variable.

Reported by Peter Eisentraut.
parent 6ba77bce
...@@ -123,7 +123,6 @@ CheckIndexCompatible(Oid oldId, ...@@ -123,7 +123,6 @@ CheckIndexCompatible(Oid oldId,
HeapTuple tuple; HeapTuple tuple;
Form_pg_am accessMethodForm; Form_pg_am accessMethodForm;
bool amcanorder; bool amcanorder;
RegProcedure amoptions;
int16 *coloptions; int16 *coloptions;
IndexInfo *indexInfo; IndexInfo *indexInfo;
int numberOfAttributes; int numberOfAttributes;
...@@ -158,7 +157,6 @@ CheckIndexCompatible(Oid oldId, ...@@ -158,7 +157,6 @@ CheckIndexCompatible(Oid oldId,
accessMethodId = HeapTupleGetOid(tuple); accessMethodId = HeapTupleGetOid(tuple);
accessMethodForm = (Form_pg_am) GETSTRUCT(tuple); accessMethodForm = (Form_pg_am) GETSTRUCT(tuple);
amcanorder = accessMethodForm->amcanorder; amcanorder = accessMethodForm->amcanorder;
amoptions = accessMethodForm->amoptions;
ReleaseSysCache(tuple); ReleaseSysCache(tuple);
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment