aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-06-24 01:06:26 +0000
committerNeil Conway <neilc@samurai.com>2005-06-24 01:06:26 +0000
commitf2b6edeab82f4cb9782bbe1ec7f46126dc309452 (patch)
treefb0c45c2f4a85d748f3a640f670a5f9de3ed39d6 /src
parent9a09248eddf12339677169064c88e4df11e5077f (diff)
downloadpostgresql-f2b6edeab82f4cb9782bbe1ec7f46126dc309452.tar.gz
postgresql-f2b6edeab82f4cb9782bbe1ec7f46126dc309452.zip
This trivial patch removes an unused variable. From Alvaro Herrera.
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/init/postinit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index 72fba39df46..1836aee81d7 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.148 2005/06/17 22:32:47 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.149 2005/06/24 01:06:26 neilc Exp $
*
*
*-------------------------------------------------------------------------
@@ -536,12 +536,10 @@ static bool
ThereIsAtLeastOneUser(void)
{
Relation pg_shadow_rel;
- TupleDesc pg_shadow_dsc;
HeapScanDesc scan;
bool result;
pg_shadow_rel = heap_open(ShadowRelationId, AccessExclusiveLock);
- pg_shadow_dsc = RelationGetDescr(pg_shadow_rel);
scan = heap_beginscan(pg_shadow_rel, SnapshotNow, 0, NULL);
result = (heap_getnext(scan, ForwardScanDirection) != NULL);