summaryrefslogtreecommitdiffstats
path: root/test/pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pool.c')
-rw-r--r--test/pool.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/pool.c b/test/pool.c
index 1e26109..22658ec 100644
--- a/test/pool.c
+++ b/test/pool.c
@@ -119,7 +119,6 @@ static int
test_close_one(void)
{
H5MP_pool_t *mp; /* Memory pool */
- void *spc1; /* Pointer to space allocated */
/*
* Test memory pool closing
@@ -131,7 +130,7 @@ test_close_one(void)
TEST_ERROR
/* Allocate space in pool */
- if(NULL == (spc1 = H5MP_malloc(mp, (size_t)MPOOL_NORMAL_BLOCK)))
+ if(NULL == H5MP_malloc(mp, (size_t)MPOOL_NORMAL_BLOCK))
TEST_ERROR
/* Close the memory pool */