Skip to content

Commit 406a942

Browse files
author
Neil Conway
committed
Minor code cleanup: remove a variable that was assigned to but never
subsequently referenced. Found by: Coverity Fixed by: Sean Chittenden
1 parent 3350b37 commit 406a942

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/backend/catalog/pg_largeobject.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/catalog/pg_largeobject.c,v 1.22 2004/12/31 21:59:38 pgsql Exp $
11+
* $PostgreSQL: pgsql/src/backend/catalog/pg_largeobject.c,v 1.23 2005/02/23 23:27:54 neilc Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -114,7 +114,6 @@ LargeObjectExists(Oid loid)
114114
Relation pg_largeobject;
115115
ScanKeyData skey[1];
116116
SysScanDesc sd;
117-
HeapTuple tuple;
118117

119118
/*
120119
* See if we can find any tuples belonging to the specified LO
@@ -129,7 +128,7 @@ LargeObjectExists(Oid loid)
129128
sd = systable_beginscan(pg_largeobject, LargeObjectLOidPNIndex, true,
130129
SnapshotNow, 1, skey);
131130

132-
if ((tuple = systable_getnext(sd)) != NULL)
131+
if (systable_getnext(sd) != NULL)
133132
retval = true;
134133

135134
systable_endscan(sd);

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