aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/hash/hashscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/access/hash/hashscan.c')
-rw-r--r--src/backend/access/hash/hashscan.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/access/hash/hashscan.c b/src/backend/access/hash/hashscan.c
index 656e67c7cdb..fcf2a01cddb 100644
--- a/src/backend/access/hash/hashscan.c
+++ b/src/backend/access/hash/hashscan.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/hash/hashscan.c,v 1.32 2003/11/29 19:51:40 pgsql Exp $
+ * $PostgreSQL: pgsql/src/backend/access/hash/hashscan.c,v 1.33 2004/01/07 18:56:23 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -26,7 +26,7 @@ typedef struct HashScanListData
typedef HashScanListData *HashScanList;
-static HashScanList HashScans = (HashScanList) NULL;
+static HashScanList HashScans = NULL;
/*
@@ -73,16 +73,16 @@ _hash_dropscan(IndexScanDesc scan)
HashScanList chk,
last;
- last = (HashScanList) NULL;
+ last = NULL;
for (chk = HashScans;
- chk != (HashScanList) NULL && chk->hashsl_scan != scan;
+ chk != NULL && chk->hashsl_scan != scan;
chk = chk->hashsl_next)
last = chk;
- if (chk == (HashScanList) NULL)
+ if (chk == NULL)
elog(ERROR, "hash scan list trashed; can't find 0x%p", (void *) scan);
- if (last == (HashScanList) NULL)
+ if (last == NULL)
HashScans = chk->hashsl_next;
else
last->hashsl_next = chk->hashsl_next;