diff options
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r-- | src/H5Fint.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c index 9e05c60..4ecefe8 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -1270,7 +1270,7 @@ H5F_close(H5F_t *f) /* Sanity check */ HDassert(f); - //HDassert(f->file_id > 0); /* This routine should only be called when a file ID's ref count drops to zero */ + HDassert(f->file_id > 0); /* This routine should only be called when a file ID's ref count drops to zero */ /* Perform checks for "semi" file close degree here, since closing the * file is not allowed if there are objects still open */ @@ -1293,12 +1293,6 @@ H5F_close(H5F_t *f) /* Reset the file ID for this file */ f->file_id = -1; - /* - if((file_id = H5I_get_id(f, H5I_FILE)) < 0) - HGOTO_ERROR(H5E_ATOM, H5E_CANTGET, FAIL, "invalid atom") - H5I_remove(file_id); - */ - /* Attempt to close the file/mount hierarchy */ if(H5F_try_close(f) < 0) HGOTO_ERROR(H5E_FILE, H5E_CANTCLOSEFILE, FAIL, "can't close file") |