summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2014-09-25 20:21:13 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2016-11-29 23:42:29 (GMT)
commitd33edadd94a2cd4b9de040dfcf3a593c67df7dbb (patch)
tree12f6ce584e3779982d3622b32f833ac81c54a497
parentef93918a79ad8ccca23f8e4d66bc96c1aa6f414d (diff)
downloadhdf5-d33edadd94a2cd4b9de040dfcf3a593c67df7dbb.zip
hdf5-d33edadd94a2cd4b9de040dfcf3a593c67df7dbb.tar.gz
hdf5-d33edadd94a2cd4b9de040dfcf3a593c67df7dbb.tar.bz2
Fix H5Dquery return value
-rw-r--r--src/H5D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 704d5b7..67f4514 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -971,7 +971,7 @@ herr_t
H5Dquery(hid_t dset_id, hid_t query_id, hid_t *space_id)
{
H5D_t *dset = NULL;
- hid_t ret_value = FAIL;
+ herr_t ret_value = SUCCEED;
FUNC_ENTER_API(FAIL)