src/h5core/h5b_readwrite.c:

- fix early return in  _select_hyperslab_for_writing()

# Conflicts:
#	src/h5core/h5b_readwrite.c
This commit is contained in:
2015-06-18 14:17:10 +02:00
parent f47fbbf075
commit cc0135b4fc
+4 -3
View File
@@ -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;