diff --git a/src/h5core/h5b_readwrite.c b/src/h5core/h5b_readwrite.c index 66299a0..4d52491 100644 --- a/src/h5core/h5b_readwrite.c +++ b/src/h5core/h5b_readwrite.c @@ -100,9 +100,10 @@ _select_hyperslab_for_writing ( ) { H5_PRIV_FUNC_ENTER (h5_err_t, "f=%p", f); /* - re-use existing hyperslab - */ - if ( f->b->shape >= 0 ) return H5_SUCCESS; + re-use existing hyperslab + */ + if ( f->b->shape >= 0 ) + H5_PRIV_FUNC_LEAVE (H5_SUCCESS); h5b_fdata_t *b = f->b; h5b_partition_t *p = b->write_layout;