From cc0135b4fc41da85eb893467b42ae70462ffa22f Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 18 Jun 2015 14:17:10 +0200 Subject: [PATCH] src/h5core/h5b_readwrite.c: - fix early return in _select_hyperslab_for_writing() # Conflicts: # src/h5core/h5b_readwrite.c --- src/h5core/h5b_readwrite.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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;