diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2013-08-17 20:05:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2013-08-17 20:05:27 (GMT) |
commit | 308c378ccd9310b19c12d524d123cf5d352b6260 (patch) | |
tree | 69a4527bd8f8777151cd71832ecbc6e802cc0171 /hl/test | |
parent | d663d78cd274a48b702a2d3ce17fa6bb01be1ae1 (diff) | |
download | hdf5-308c378ccd9310b19c12d524d123cf5d352b6260.zip hdf5-308c378ccd9310b19c12d524d123cf5d352b6260.tar.gz hdf5-308c378ccd9310b19c12d524d123cf5d352b6260.tar.bz2 |
[svn-r24020] Description:
Clean up compiler warnings
Tested on:
Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN
(too minor to require h5committest)
Diffstat (limited to 'hl/test')
-rw-r--r-- | hl/test/test_lite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/test/test_lite.c b/hl/test/test_lite.c index b649462..bcf6663 100644 --- a/hl/test/test_lite.c +++ b/hl/test/test_lite.c @@ -1812,7 +1812,6 @@ out: static int test_valid_path(void) { hid_t file_id, group; - herr_t status; htri_t path_valid; const char *data_string_in = "test"; @@ -1943,7 +1942,8 @@ static int test_valid_path(void) /* * Close the file. */ - status = H5Fclose (file_id); + if(H5Fclose (file_id) < 0) + goto out; /* Create another file for checking external links */ |