summaryrefslogtreecommitdiffstats
path: root/src/H5Adeprec.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-04-04 21:48:46 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-04-04 21:48:46 (GMT)
commitb56de62ae06434c5966fc07664c44d91b407c515 (patch)
treea75e027d145bc5a973eeca33376e98b0ca4a0c93 /src/H5Adeprec.c
parent668df7889cdb78ddf5c05ba6846794991d1ed826 (diff)
downloadhdf5-b56de62ae06434c5966fc07664c44d91b407c515.zip
hdf5-b56de62ae06434c5966fc07664c44d91b407c515.tar.gz
hdf5-b56de62ae06434c5966fc07664c44d91b407c515.tar.bz2
[svn-r22250] - fix most of issues from code review
- object open routines fall back to the generic VL object open in case the specific call back is not impemented - H5L VOL create/copy/move routines - make VOL create routines have similar interface and stuff parameters in creation plist - some bug fixes
Diffstat (limited to 'src/H5Adeprec.c')
-rw-r--r--src/H5Adeprec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Adeprec.c b/src/H5Adeprec.c
index 8c3801a..806b721 100644
--- a/src/H5Adeprec.c
+++ b/src/H5Adeprec.c
@@ -307,7 +307,7 @@ H5Aget_num_attrs(hid_t id)
{
H5O_loc_t *loc; /* Object location for attribute */
void *obj;
- H5VL_id_wrapper_t *uid_info; /* user id structure */
+ H5VL_id_wrapper_t *id_wrapper; /* user id structure */
hid_t loc_id;
H5I_type_t id_type;
int ret_value;
@@ -323,9 +323,9 @@ H5Aget_num_attrs(hid_t id)
if (H5I_FILE_PUBLIC == id_type || H5I_GROUP_PUBLIC == id_type ||
H5I_DATASET_PUBLIC == id_type || H5I_DATATYPE_PUBLIC == id_type ||
H5I_ATTR_PUBLIC == id_type) {
- if(NULL == (uid_info = (H5VL_id_wrapper_t *)H5I_object(id)))
+ if(NULL == (id_wrapper = (H5VL_id_wrapper_t *)H5I_object(id)))
HGOTO_ERROR(H5E_ATOM, H5E_BADTYPE, NULL, "invalid user identifier")
- loc_id = uid_info->obj_id;
+ loc_id = id_wrapper->obj_id;
}
else {
loc_id = id;