summaryrefslogtreecommitdiffstats
path: root/hl/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-08-18 00:31:01 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-08-18 00:31:01 (GMT)
commit6e58f671ec62120246a94101a80a47259ffb96c3 (patch)
tree204ba14aa8e2fad6bb78ef8128c3f98c48e26f39 /hl/test
parentb5a5441e7c5eb09cb53677326c3e84f80acdf108 (diff)
downloadhdf5-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.c4
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 */