summaryrefslogtreecommitdiffstats
path: root/src/H5B.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-20 18:26:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-20 18:26:41 (GMT)
commit92fd980ca9f16ce688f67a1ae04f129dfa3aacf1 (patch)
tree1a15cc9d6329b3fcc312d288ac632d9223b10b63 /src/H5B.c
parent987bc92a01dfe013abced01378ee7e4b3173c797 (diff)
downloadhdf5-92fd980ca9f16ce688f67a1ae04f129dfa3aacf1.zip
hdf5-92fd980ca9f16ce688f67a1ae04f129dfa3aacf1.tar.gz
hdf5-92fd980ca9f16ce688f67a1ae04f129dfa3aacf1.tar.bz2
[svn-r18595] Description:
Clean up compiler warnings Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (too minor to require h5committest)
Diffstat (limited to 'src/H5B.c')
-rw-r--r--src/H5B.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5B.c b/src/H5B.c
index 278d689..e50c620 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -1188,9 +1188,9 @@ done:
if(bt && H5AC_unprotect(f, dxpl_id, H5AC_BT, addr, bt, H5AC__NO_FLAGS_SET) < 0)
HDONE_ERROR(H5E_BTREE, H5E_CANTUNPROTECT, H5_ITER_ERROR, "unable to release B-tree node")
if(native)
- (void)H5FL_BLK_FREE(native_block, native);
+ native = H5FL_BLK_FREE(native_block, native);
if(child)
- (void)H5FL_SEQ_FREE(haddr_t, child);
+ child = H5FL_SEQ_FREE(haddr_t, child);
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5B_iterate_helper() */
@@ -1773,13 +1773,13 @@ H5B_shared_free(void *_shared)
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5B_shared_free)
/* Free the raw B-tree node buffer */
- (void)H5FL_BLK_FREE(page, shared->page);
+ shared->page = H5FL_BLK_FREE(page, shared->page);
/* Free the B-tree native key offsets buffer */
- (void)H5FL_SEQ_FREE(size_t, shared->nkey);
+ shared->nkey = H5FL_SEQ_FREE(size_t, shared->nkey);
/* Free the shared B-tree info */
- (void)H5FL_FREE(H5B_shared_t, shared);
+ shared = H5FL_FREE(H5B_shared_t, shared);
FUNC_LEAVE_NOAPI(SUCCEED)
} /* end H5B_shared_free() */