src/h5core/h5b_readwrite.c:

- fix early return in  _select_hyperslab_for_writing()
This commit is contained in:
2015-06-12 14:44:31 +02:00
parent da1ceec4f5
commit 64f8552443
+2 -1
View File
@@ -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;