mirror of
https://github.com/postgres/postgres.git
synced 2026-06-11 01:30:11 -04:00
Remove useless variable to suppress compiler warning.
This commit is contained in:
parent
d24ac36f4f
commit
a25ef7a5f6
1 changed files with 1 additions and 3 deletions
|
|
@ -1292,8 +1292,7 @@ index_drop(Oid indexId, bool concurrent)
|
|||
bool hasexprs;
|
||||
LockRelId heaprelid,
|
||||
indexrelid;
|
||||
LOCKTAG heaplocktag,
|
||||
indexlocktag;
|
||||
LOCKTAG heaplocktag;
|
||||
VirtualTransactionId *old_lockholders;
|
||||
Form_pg_index indexForm;
|
||||
|
||||
|
|
@ -1366,7 +1365,6 @@ index_drop(Oid indexId, bool concurrent)
|
|||
heap_close(userHeapRelation, NoLock);
|
||||
|
||||
indexrelid = userIndexRelation->rd_lockInfo.lockRelId;
|
||||
SET_LOCKTAG_RELATION(indexlocktag, indexrelid.dbId, indexrelid.relId);
|
||||
index_close(userIndexRelation, NoLock);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue