fixed large file build issue

This commit is contained in:
Edward Hartnett 2020-03-02 16:28:56 -07:00
parent 8a799c7711
commit ad77f42a90

View File

@ -246,7 +246,6 @@ main()
char file_name[STR_LEN + 1];
char dimscale_wo_var[STR_LEN];
void *bufr;
hsize_t num_obj;
void *fillp = NULL;
sprintf(file_name, "%s/%s", TEMP_LARGE, FILE_NAME);
@ -361,12 +360,6 @@ main()
if (H5Gclose(grpid) < 0) ERR;
if (H5Fclose(fileid) < 0) ERR;
/* Reopen the file and check it. */
if ((fileid = H5Fopen(file_name, H5F_ACC_RDWR, H5P_DEFAULT)) < 0) ERR;
if (H5Gget_num_objs(fileid, &num_obj) < 0) ERR;
if (num_obj) ERR;
if (H5Fclose(fileid) < 0) ERR;
/* Delete the huge data file we created. */
(void) remove(file_name);
}