From 64f85524432085fab791bfed682a350039e0ef9a Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 12 Jun 2015 14:44:31 +0200 Subject: [PATCH] src/h5core/h5b_readwrite.c: - fix early return in _select_hyperslab_for_writing() --- src/h5core/h5b_readwrite.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/h5core/h5b_readwrite.c b/src/h5core/h5b_readwrite.c index da7f5eb..6bbe2a5 100644 --- a/src/h5core/h5b_readwrite.c +++ b/src/h5core/h5b_readwrite.c @@ -9,7 +9,8 @@ _select_hyperslab_for_writing ( /* re-use existing hyperslab */ - if ( f->b->shape >= 0 ) return H5_SUCCESS; + if ( f->b->shape >= 0 ) + H5_PRIV_FUNC_LEAVE (H5_SUCCESS); h5b_fdata_t *b = f->b; h5b_partition_t *p = b->write_layout;