diff options
Diffstat (limited to 'src/H5Ofill.c')
-rw-r--r-- | src/H5Ofill.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/H5Ofill.c b/src/H5Ofill.c index 213df3f..2c6158b 100644 --- a/src/H5Ofill.c +++ b/src/H5Ofill.c @@ -747,7 +747,6 @@ static htri_t H5O_fill_new_is_shared(const void *_mesg) { const H5O_fill_new_t *mesg = (const H5O_fill_new_t *)_mesg; - htri_t ret_value; FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_fill_new_is_shared) @@ -757,13 +756,8 @@ H5O_fill_new_is_shared(const void *_mesg) * library read a "committed fill value" if we ever create one in * the future. */ - if(mesg->sh_loc.flags & (H5O_COMMITTED_FLAG | H5O_SHARED_IN_HEAP_FLAG)) - ret_value = TRUE; - else - ret_value = FALSE; - - FUNC_LEAVE_NOAPI(ret_value) -} /* end H5O_fill_new_is_shared */ + FUNC_LEAVE_NOAPI(H5O_IS_SHARED(mesg->sh_loc.flags)) +} /* end H5O_fill_new_is_shared() */ /*------------------------------------------------------------------------- |