mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-18 17:40:55 +08:00
[svn-r17187] The ret_value is a (H5A_t *) but FAIL was used. This typo caused a warning
from Linux gcc but resulted in error by AIX xlc compiler. Solution: Changed FAIL to NULL. Tested: Just compiling in the AIX system.
This commit is contained in:
parent
a739b62ecc
commit
d078d2c8e2
@ -539,7 +539,7 @@ H5O_attr_open_by_name(const H5O_loc_t *loc, const char *name, hid_t dxpl_id)
|
||||
|
||||
/* Mark datatype as being on disk now */
|
||||
if(H5T_set_loc(ret_value->shared->dt, loc->file, H5T_LOC_DISK) < 0)
|
||||
HGOTO_ERROR(H5E_ATTR, H5E_CANTINIT, FAIL, "invalid datatype location")
|
||||
HGOTO_ERROR(H5E_ATTR, H5E_CANTINIT, NULL, "invalid datatype location")
|
||||
|
||||
} /* end else */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user