diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2013-08-18 00:31:01 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2013-08-18 00:31:01 (GMT) |
commit | 6e58f671ec62120246a94101a80a47259ffb96c3 (patch) | |
tree | 204ba14aa8e2fad6bb78ef8128c3f98c48e26f39 /hl/test | |
parent | b5a5441e7c5eb09cb53677326c3e84f80acdf108 (diff) | |
download | hdf5-6e58f671ec62120246a94101a80a47259ffb96c3.zip hdf5-6e58f671ec62120246a94101a80a47259ffb96c3.tar.gz hdf5-6e58f671ec62120246a94101a80a47259ffb96c3.tar.bz2 |
[svn-r24021] Description:
Bring r24020 from trunk to 1.8 branch:
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 5375cde..ad17206 100644 --- a/hl/test/test_lite.c +++ b/hl/test/test_lite.c @@ -1820,7 +1820,6 @@ out: static int test_valid_path(void) { hid_t file_id, group; - herr_t status; FILE *fp = NULL; htri_t path_valid; const char *data_string_in = "test"; @@ -1952,7 +1951,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 */ |