summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-07-18 14:08:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-07-18 14:08:21 (GMT)
commit99e21e85c94327b6a525aa87a6d11547fc944f41 (patch)
tree7827b2d914ae809c177d6b15fb17d6ac566cb09c
parent8b3ced0b9e36b5b687af56106e8338e00443a106 (diff)
downloadhdf5-99e21e85c94327b6a525aa87a6d11547fc944f41.zip
hdf5-99e21e85c94327b6a525aa87a6d11547fc944f41.tar.gz
hdf5-99e21e85c94327b6a525aa87a6d11547fc944f41.tar.bz2
[svn-r15385] Description:
Correct return value for error condition to avoid compiler warning Tested on: Just eyeballed, very minor
-rw-r--r--src/H5A.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5A.c b/src/H5A.c
index 15179b0..7675b90 100644
--- a/src/H5A.c
+++ b/src/H5A.c
@@ -2328,7 +2328,7 @@ H5A_copy(H5A_t *_new_attr, const H5A_t *old_attr)
/* Deep copy of the group hierarchy path */
if(H5G_name_copy(&(new_attr->path), &(old_attr->path), H5_COPY_DEEP) < 0)
- HGOTO_ERROR(H5E_ATTR, H5E_CANTCOPY, FAIL, "unable to copy path")
+ HGOTO_ERROR(H5E_ATTR, H5E_CANTCOPY, NULL, "unable to copy path")
/* Share some attribute information */
new_attr->shared = old_attr->shared;