merged ejh_hdf5_sep_file_info

This commit is contained in:
Ed Hartnett 2018-08-06 09:57:17 -06:00
commit f443facac5
2 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@ nc4_create_file(const char *path, int cmode, size_t initialsz,
int retval = NC_NOERR;
NC_FILE_INFO_T* nc4_info = NULL;
NC_HDF5_FILE_INFO_T *hdf5_info;
#ifdef USE_PARALLEL4
NC_MPI_INFO *mpiinfo = NULL;
MPI_Comm comm;

View File

@ -228,6 +228,7 @@ dumpopenobjects(NC_FILE_INFO_T* h5)
hdf5_info = (NC_HDF5_FILE_INFO_T *)h5->format_file_info;
nobjs = H5Fget_obj_count(hdf5_info->hdfid, H5F_OBJ_ALL);
/* Apparently we can get an error even when nobjs == 0 */
if(nobjs < 0) {
return;