summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-07-15 00:22:06 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-07-15 00:22:06 (GMT)
commit14adeb6772cc054bd7c49415407dab7b873e4911 (patch)
treeaf04839438098d97ee220eb0874e494370bac724 /src
parentd678c5b59613cd6a2d61c914813c2589a84ccfb1 (diff)
downloadhdf5-14adeb6772cc054bd7c49415407dab7b873e4911.zip
hdf5-14adeb6772cc054bd7c49415407dab7b873e4911.tar.gz
hdf5-14adeb6772cc054bd7c49415407dab7b873e4911.tar.bz2
[svn-r17186] 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.
Diffstat (limited to 'src')
-rw-r--r--src/H5Oattribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oattribute.c b/src/H5Oattribute.c
index ba58526..d6529d0 100644
--- a/src/H5Oattribute.c
+++ b/src/H5Oattribute.c
@@ -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 */