mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r16364] Description:
Clean up a few compiler warnings Tested on: Mac OS X/32 (amazon) (too minor to require h5committest)
This commit is contained in:
parent
f640047612
commit
c7407a8ccb
@ -275,7 +275,7 @@ H5B2_shared_free(void *_shared)
|
|||||||
|
|
||||||
/* Free the array of offsets into the native key block */
|
/* Free the array of offsets into the native key block */
|
||||||
if(shared->nat_off)
|
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 */
|
/* Release the node info */
|
||||||
if(shared->node_info) {
|
if(shared->node_info) {
|
||||||
@ -292,11 +292,11 @@ H5B2_shared_free(void *_shared)
|
|||||||
} /* end for */
|
} /* end for */
|
||||||
|
|
||||||
/* Free the array of node info structs */
|
/* 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 */
|
} /* end if */
|
||||||
|
|
||||||
/* Free the shared B-tree info itself */
|
/* Free the shared B-tree info itself */
|
||||||
(void)H5FL_FREE(H5B2_shared_t, shared);
|
shared = H5FL_FREE(H5B2_shared_t, shared);
|
||||||
|
|
||||||
done:
|
done:
|
||||||
FUNC_LEAVE_NOAPI(ret_value)
|
FUNC_LEAVE_NOAPI(ret_value)
|
||||||
|
Loading…
Reference in New Issue
Block a user