postgres.git / summary / log / commit / refs
commit cdd61237d6265fa355afa772ca3eee39e4905bcb
Author: Robert Haas <rhaas@postgresql.org>
Date: Tue Jul 19 14:30:03 2011 +0000
First released in: 9.2.0
Remove superfluous variable.
Reported by Peter Eisentraut.
src/backend/commands/indexcmds.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c
index 16eae204ab3..a1c299d00ee 100644
--- a/src/backend/commands/indexcmds.c
+++ b/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);
/*
[parent: 6ba77bce9378]