From a7673d2f91afd96faf60072dc80a533faa626593 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 27 Jan 2009 16:18:23 -0500 Subject: [svn-r16365] Description: Bring r16364 back from trunk: Clean up a few compiler warnings Tested on: Mac OS X/32 (amazon) (too minor to require h5committest) --- src/H5B2int.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/H5B2int.c b/src/H5B2int.c index 8ce964c..638f1be 100644 --- a/src/H5B2int.c +++ b/src/H5B2int.c @@ -269,7 +269,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) { @@ -286,11 +286,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) -- cgit v0.12