Content-Length: 279144 | pFad | http://github.com/postgrespro/postgres/commit/f2b6edeab82f4cb9782bbe1ec7f46126dc309452

2C This trivial patch removes an unused variable. From Alvaro Herrera. · postgrespro/postgres@f2b6ede · GitHub
Skip to content

Commit f2b6ede

Browse files
author
Neil Conway
committed
This trivial patch removes an unused variable. From Alvaro Herrera.
1 parent 9a09248 commit f2b6ede

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/backend/utils/init/postinit.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.148 2005/06/17 22:32:47 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.149 2005/06/24 01:06:26 neilc Exp $
1212
*
1313
*
1414
*-------------------------------------------------------------------------
@@ -536,12 +536,10 @@ static bool
536536
ThereIsAtLeastOneUser(void)
537537
{
538538
Relation pg_shadow_rel;
539-
TupleDesc pg_shadow_dsc;
540539
HeapScanDesc scan;
541540
bool result;
542541

543542
pg_shadow_rel = heap_open(ShadowRelationId, AccessExclusiveLock);
544-
pg_shadow_dsc = RelationGetDescr(pg_shadow_rel);
545543

546544
scan = heap_beginscan(pg_shadow_rel, SnapshotNow, 0, NULL);
547545
result = (heap_getnext(scan, ForwardScanDirection) != NULL);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/f2b6edeab82f4cb9782bbe1ec7f46126dc309452

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy