summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2011-07-19 14:30:03 +0000
committerRobert Haas2011-07-19 14:30:26 +0000
commitcdd61237d6265fa355afa772ca3eee39e4905bcb (patch)
tree92d4a01e8aee924e814c3a8af465d70793430937
parent6ba77bce9378cb9c5fb89a4d30bf77c2a17b0d64 (diff)
Remove superfluous variable.
Reported by Peter Eisentraut.
-rw-r--r--src/backend/commands/indexcmds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c
index 16eae204ab..a1c299d00e 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);
/*