Commit a25ef7a5 authored by Tom Lane's avatar Tom Lane

Remove useless variable to suppress compiler warning.

parent d24ac36f
...@@ -1292,8 +1292,7 @@ index_drop(Oid indexId, bool concurrent) ...@@ -1292,8 +1292,7 @@ index_drop(Oid indexId, bool concurrent)
bool hasexprs; bool hasexprs;
LockRelId heaprelid, LockRelId heaprelid,
indexrelid; indexrelid;
LOCKTAG heaplocktag, LOCKTAG heaplocktag;
indexlocktag;
VirtualTransactionId *old_lockholders; VirtualTransactionId *old_lockholders;
Form_pg_index indexForm; Form_pg_index indexForm;
...@@ -1366,7 +1365,6 @@ index_drop(Oid indexId, bool concurrent) ...@@ -1366,7 +1365,6 @@ index_drop(Oid indexId, bool concurrent)
heap_close(userHeapRelation, NoLock); heap_close(userHeapRelation, NoLock);
indexrelid = userIndexRelation->rd_lockInfo.lockRelId; indexrelid = userIndexRelation->rd_lockInfo.lockRelId;
SET_LOCKTAG_RELATION(indexlocktag, indexrelid.dbId, indexrelid.relId);
index_close(userIndexRelation, NoLock); index_close(userIndexRelation, NoLock);
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment