summaryrefslogtreecommitdiffstats
path: root/src/H5ACmpio.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-08-14 23:22:06 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-08-14 23:22:06 (GMT)
commitbd8da502cf5b763433e3c628a4043a4264529cec (patch)
tree452da55063d4a6c6d7ea585826e67e416dcaaf02 /src/H5ACmpio.c
parent2b72832d97496290f74ccaffcda41c3e596f8f49 (diff)
downloadhdf5-bd8da502cf5b763433e3c628a4043a4264529cec.zip
hdf5-bd8da502cf5b763433e3c628a4043a4264529cec.tar.gz
hdf5-bd8da502cf5b763433e3c628a4043a4264529cec.tar.bz2
Some refactoring prior to implementing new H5P MPI functions.
* Macro cleanup and obvious warning fixes in parallel code. * Moved H5FD comm and info dup/free wrapper code to a new H5mpi.c file and separated it to deal with each MPI type separately.
Diffstat (limited to 'src/H5ACmpio.c')
-rw-r--r--src/H5ACmpio.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/H5ACmpio.c b/src/H5ACmpio.c
index b60b933..e4b81fa 100644
--- a/src/H5ACmpio.c
+++ b/src/H5ACmpio.c
@@ -821,9 +821,8 @@ H5AC__log_cleaned_entry(const H5AC_info_t *entry_ptr)
{
H5AC_t * cache_ptr;
H5AC_aux_t * aux_ptr;
- herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_PACKAGE
+ FUNC_ENTER_PACKAGE_NOERR
/* Sanity check */
HDassert(entry_ptr);
@@ -853,8 +852,7 @@ H5AC__log_cleaned_entry(const H5AC_info_t *entry_ptr)
/* Decrement the dirty byte count */
aux_ptr->dirty_bytes -= entry_ptr->size;
-done:
- FUNC_LEAVE_NOAPI(ret_value)
+ FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5AC__log_cleaned_entry() */