Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cdd6123

Browse files
committed
Remove superfluous variable.
Reported by Peter Eisentraut.
1 parent 6ba77bc commit cdd6123

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/commands/indexcmds.c

-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ CheckIndexCompatible(Oid oldId,
123123
HeapTuple tuple;
124124
Form_pg_am accessMethodForm;
125125
bool amcanorder;
126-
RegProcedure amoptions;
127126
int16 *coloptions;
128127
IndexInfo *indexInfo;
129128
int numberOfAttributes;
@@ -158,7 +157,6 @@ CheckIndexCompatible(Oid oldId,
158157
accessMethodId = HeapTupleGetOid(tuple);
159158
accessMethodForm = (Form_pg_am) GETSTRUCT(tuple);
160159
amcanorder = accessMethodForm->amcanorder;
161-
amoptions = accessMethodForm->amoptions;
162160
ReleaseSysCache(tuple);
163161

164162
/*

0 commit comments

Comments
 (0)