summaryrefslogtreecommitdiffstats
path: root/src/H5B.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-20 19:05:15 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-20 19:05:15 (GMT)
commitc403f235f9b7c8d7abdff3836e76cc5724a5f82f (patch)
tree55e265e60128496b9cf773196e53c6d9f74c79d9 /src/H5B.c
parent37ef89af1daf8c7a6c31889a16c0b55c184a815e (diff)
downloadhdf5-c403f235f9b7c8d7abdff3836e76cc5724a5f82f.zip
hdf5-c403f235f9b7c8d7abdff3836e76cc5724a5f82f.tar.gz
hdf5-c403f235f9b7c8d7abdff3836e76cc5724a5f82f.tar.bz2
[svn-r18596] Description:
Bring r18595 from trunk to 1.8 branch: 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 f233f40..a0fd7ce 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() */