diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-05-14 15:10:41 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-05-14 15:10:41 (GMT) |
commit | f6ef92e76f7881b4eaf047f97a8ad871909ed7b3 (patch) | |
tree | 6945b3a1c40152a7c6e26fe1ebec7f077487d42b /src/H5VLnative.c | |
parent | 1e520404398f533bd17516866a6bf4daa41245a9 (diff) | |
download | hdf5-f6ef92e76f7881b4eaf047f97a8ad871909ed7b3.zip hdf5-f6ef92e76f7881b4eaf047f97a8ad871909ed7b3.tar.gz hdf5-f6ef92e76f7881b4eaf047f97a8ad871909ed7b3.tar.bz2 |
[svn-r22357] minor edits
Diffstat (limited to 'src/H5VLnative.c')
-rw-r--r-- | src/H5VLnative.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/H5VLnative.c b/src/H5VLnative.c index 0582bc5..7052b8d 100644 --- a/src/H5VLnative.c +++ b/src/H5VLnative.c @@ -1924,7 +1924,7 @@ H5VL_native_group_get(hid_t obj_id, H5VL_group_get_t get_type, hid_t UNUSED req, HGOTO_ERROR(H5E_ARGS, H5E_CANTGET, FAIL, "can't get creation property list for group") break; } - /* H5Fget_info2 */ + /* H5Gget_info */ case H5VL_GROUP_GET_INFO: { H5G_info_t *grp_info = va_arg (arguments, H5G_info_t *); @@ -2414,8 +2414,8 @@ H5VL_native_object_lookup(hid_t loc_id, H5VL_object_lookup_t lookup_type, hid_t HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a location") obj_loc = *location; - obj_loc->oloc = (H5O_loc_t *) H5MM_malloc (sizeof (H5O_loc_t));//*location; - obj_loc->path = (H5G_name_t *) H5MM_malloc (sizeof (H5G_name_t));//&obj_path; + obj_loc->oloc = (H5O_loc_t *) H5MM_malloc (sizeof (H5O_loc_t)); + obj_loc->path = (H5G_name_t *) H5MM_malloc (sizeof (H5G_name_t)); H5G_loc_reset(obj_loc); switch (lookup_type) { @@ -2508,7 +2508,6 @@ H5VL_native_object_lookup(hid_t loc_id, H5VL_object_lookup_t lookup_type, hid_t case H5R_BADTYPE: case H5R_MAXTYPE: default: - //HDassert("unknown reference type" && 0); HGOTO_ERROR(H5E_REFERENCE, H5E_UNSUPPORTED, FAIL, "internal error (unknown reference type)") } /* end switch */ break; |