src/h5core/h5_hdf5.c

- hdf5_get_name_of_dataset_by_idx(): bugfix, return H5_NOK, if dataset are in step
This commit is contained in:
2015-09-08 20:45:27 +02:00
parent 4f7c666b1f
commit 390a4296b4
+2
View File
@@ -359,6 +359,8 @@ hdf5_get_name_of_dataset_by_idx (
(long unsigned int)idx,
hdf5_get_objname (loc_id)));
}
if (op_data.cnt < 0)
HDF5_WRAPPER_LEAVE (H5_NOK);
HDF5_WRAPPER_RETURN (H5_SUCCESS);
}