Skip to content

Commit a25ef7a

Browse files
committed
Remove useless variable to suppress compiler warning.
1 parent d24ac36 commit a25ef7a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/backend/catalog/index.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,8 +1292,7 @@ index_drop(Oid indexId, bool concurrent)
12921292
bool hasexprs;
12931293
LockRelId heaprelid,
12941294
indexrelid;
1295-
LOCKTAG heaplocktag,
1296-
indexlocktag;
1295+
LOCKTAG heaplocktag;
12971296
VirtualTransactionId *old_lockholders;
12981297
Form_pg_index indexForm;
12991298

@@ -1366,7 +1365,6 @@ index_drop(Oid indexId, bool concurrent)
13661365
heap_close(userHeapRelation, NoLock);
13671366

13681367
indexrelid = userIndexRelation->rd_lockInfo.lockRelId;
1369-
SET_LOCKTAG_RELATION(indexlocktag, indexrelid.dbId, indexrelid.relId);
13701368
index_close(userIndexRelation, NoLock);
13711369

13721370
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy