]> granicus.if.org Git - postgresql/commitdiff
Remove superfluous variable.
authorRobert Haas <rhaas@postgresql.org>
Tue, 19 Jul 2011 14:30:03 +0000 (10:30 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 19 Jul 2011 14:30:26 +0000 (10:30 -0400)
Reported by Peter Eisentraut.

src/backend/commands/indexcmds.c

index 16eae204ab35e2f1cf52cd63db07946c239792a8..a1c299d00ee4f6485c79c9831fe864a577672f20 100644 (file)
@@ -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);
 
        /*