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
No related branches found
No related tags found
No related merge requests found
...@@ -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);
/* /*
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment