summaryrefslogtreecommitdiffstats
path: root/hl/fortran
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-09-17 17:21:34 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-09-17 17:21:34 (GMT)
commit944e42d5ea758f7c05a7aed9d344096cbc9b0be7 (patch)
tree0334707212774a56594fe714a795275c25d93804 /hl/fortran
parent2ddf84b036f7d458bf2878db3ca36336c0ca7de7 (diff)
downloadhdf5-944e42d5ea758f7c05a7aed9d344096cbc9b0be7.zip
hdf5-944e42d5ea758f7c05a7aed9d344096cbc9b0be7.tar.gz
hdf5-944e42d5ea758f7c05a7aed9d344096cbc9b0be7.tar.bz2
[svn-r27818] Minor warning fixes.
Tested on: h5committest
Diffstat (limited to 'hl/fortran')
-rw-r--r--hl/fortran/src/H5LTfc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/fortran/src/H5LTfc.c b/hl/fortran/src/H5LTfc.c
index c955590..3a94664 100644
--- a/hl/fortran/src/H5LTfc.c
+++ b/hl/fortran/src/H5LTfc.c
@@ -298,7 +298,7 @@ h5ltset_attribute_c(hid_t_f *loc_id,
void *buf, char *dtype, size_t_f *sizeof_val)
{
int ret_value = -1;
- herr_t ret;
+ herr_t ret = SUCCEED;
hid_t c_loc_id;
char *c_name = NULL;
char *c_attrname = NULL;
@@ -394,7 +394,7 @@ h5ltget_attribute_c(hid_t_f *loc_id,
void *buf, char *dtype, size_t_f *sizeof_val)
{
int ret_value = -1;
- herr_t ret;
+ herr_t ret = SUCCEED;
hid_t c_loc_id;
char *c_name = NULL;
char *c_attrname = NULL;