diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-06-05 11:32:08 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-06-05 11:32:08 (GMT) |
commit | 9557087c0ed7811301610155654bf58d6583e38c (patch) | |
tree | 0deb159671588a14d44c2839813c4de1765999f5 /src/H5Aint.c | |
parent | 66699f2c7d889e725ced0fba579621ef97726b41 (diff) | |
download | hdf5-9557087c0ed7811301610155654bf58d6583e38c.zip hdf5-9557087c0ed7811301610155654bf58d6583e38c.tar.gz hdf5-9557087c0ed7811301610155654bf58d6583e38c.tar.bz2 |
Minor warning fixes:
* Fixed an error return value in H5Aint.c (NULL --> FAIL)
* Added H5VL_FILE_GET_FILENO to H5trace.c
Diffstat (limited to 'src/H5Aint.c')
-rw-r--r-- | src/H5Aint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Aint.c b/src/H5Aint.c index ebd6860..6162401 100644 --- a/src/H5Aint.c +++ b/src/H5Aint.c @@ -2400,7 +2400,7 @@ H5A__attr_post_copy_file(const H5O_loc_t *src_oloc, const H5A_t *attr_src, /* Determine size of the destination datatype */ if(0 == (dst_dt_size = H5T_get_size(attr_dst->shared->dt))) - HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, NULL, "unable to determine datatype size") + HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "unable to determine datatype size") /* Determine # of reference elements to copy */ ref_count = attr_dst->shared->data_size / dst_dt_size; |