summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-12-12 18:40:09 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-12-12 18:40:09 (GMT)
commit47d88766dbee3c631c842639d44c362c2b7b8e44 (patch)
tree77058751c8bcb0260593674f609cb5df1224198c /test/tfile.c
parent6e9c0514fb45ddb358d36832237a3beace6ffb6b (diff)
downloadhdf5-47d88766dbee3c631c842639d44c362c2b7b8e44.zip
hdf5-47d88766dbee3c631c842639d44c362c2b7b8e44.tar.gz
hdf5-47d88766dbee3c631c842639d44c362c2b7b8e44.tar.bz2
[svn-r4706] Purpose:
Code cleanup Description: Tweaked internal error handling macros to reduce the size of the library's object code by about 10-20%. Also cleaned up some compiler warnings... Platforms tested: FreeBSD 4.4 (sleipnir)
Diffstat (limited to 'test/tfile.c')
-rw-r--r--test/tfile.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 98da5e7..2b1eb28 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -363,13 +363,12 @@ test_file_open(void)
**
*****************************************************************/
static void
-test_file_close()
+test_file_close(void)
{
hid_t fid1, fid2;
hid_t fapl_id, access_id;
hid_t dataset_id, group_id1, group_id2, group_id3;
H5F_close_degree_t fc_degree;
- unsigned fid_count, oid_count;
herr_t ret;
/* Test behavior while opening file multiple times with different
@@ -620,6 +619,9 @@ test_file_close()
ret = H5Gclose(group_id3);
CHECK(ret, FAIL, "H5Gclose");
break;
+ default:
+ CHECK(fc_degree, H5F_CLOSE_DEFAULT, "H5Pget_fclose_degree");
+ break;
}
/* Close file access property list */