diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-27 21:16:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-27 21:16:55 (GMT) |
commit | c7407a8ccbe548c765da063204114107b5bb566a (patch) | |
tree | c76b2566bbc1918e13fe7c01158e2911f51ace0d | |
parent | f640047612d02cb405a14e331c946ba3b352d7bb (diff) | |
download | hdf5-c7407a8ccbe548c765da063204114107b5bb566a.zip hdf5-c7407a8ccbe548c765da063204114107b5bb566a.tar.gz hdf5-c7407a8ccbe548c765da063204114107b5bb566a.tar.bz2 |
[svn-r16364] Description:
Clean up a few compiler warnings
Tested on:
Mac OS X/32 (amazon)
(too minor to require h5committest)
-rw-r--r-- | src/H5B2int.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5B2int.c b/src/H5B2int.c index aa1fdca..b5d4048 100644 --- a/src/H5B2int.c +++ b/src/H5B2int.c @@ -275,7 +275,7 @@ H5B2_shared_free(void *_shared) /* Free the array of offsets into the native key block */ if(shared->nat_off) - H5FL_SEQ_FREE(size_t, shared->nat_off); + shared->nat_off = H5FL_SEQ_FREE(size_t, shared->nat_off); /* Release the node info */ if(shared->node_info) { @@ -292,11 +292,11 @@ H5B2_shared_free(void *_shared) } /* end for */ /* Free the array of node info structs */ - H5FL_SEQ_FREE(H5B2_node_info_t, shared->node_info); + shared->node_info = H5FL_SEQ_FREE(H5B2_node_info_t, shared->node_info); } /* end if */ /* Free the shared B-tree info itself */ - (void)H5FL_FREE(H5B2_shared_t, shared); + shared = H5FL_FREE(H5B2_shared_t, shared); done: FUNC_LEAVE_NOAPI(ret_value) |