Remove superfluous variable.

Reported by Peter Eisentraut.
pull/1/head
Robert Haas 14 years ago
parent 6ba77bce93
commit cdd61237d6
  1. 2
      src/backend/commands/indexcmds.c

@ -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);
/*

Loading…
Cancel
Save