diff options
author | Quincey Koziol <koziol@lbl.gov> | 2020-01-04 15:31:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@lbl.gov> | 2020-01-04 15:31:30 (GMT) |
commit | 4f98de52d64a283b6ff63281c2e06365b3b94df0 (patch) | |
tree | bddf2c7f13aaaa309e5aeb74d96cc12e5fc52e4a /src/H5Gdeprec.c | |
parent | 99e990e1ee8b6610793b8a2eb87bd2e2c77ab020 (diff) | |
parent | 0225e6d59698c9a720177766794619c7ad273f4a (diff) | |
download | hdf5-4f98de52d64a283b6ff63281c2e06365b3b94df0.zip hdf5-4f98de52d64a283b6ff63281c2e06365b3b94df0.tar.gz hdf5-4f98de52d64a283b6ff63281c2e06365b3b94df0.tar.bz2 |
Merge pull request #2228 in HDFFV/hdf5 from minor_improvements_from_token_refactor to develop
* commit '0225e6d59698c9a720177766794619c7ad273f4a':
Small changes from the token_refactoring branch, to reduce the delta to develop
Diffstat (limited to 'src/H5Gdeprec.c')
-rw-r--r-- | src/H5Gdeprec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Gdeprec.c b/src/H5Gdeprec.c index 368f811..830b0eb 100644 --- a/src/H5Gdeprec.c +++ b/src/H5Gdeprec.c @@ -989,15 +989,15 @@ H5G__get_objinfo_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char *name, c FUNC_ENTER_STATIC; /* Check if the name in this group resolved to a valid link */ - if (lnk == NULL && obj_loc == NULL) + if(lnk == NULL && obj_loc == NULL) HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "'%s' doesn't exist", name); - /* Only modify user's buffer if it's available */ - if (udata->statbuf) { + /* Only modify user's buffer if it's available */ + if(udata->statbuf) { H5G_stat_t *statbuf = udata->statbuf; /* Convenience pointer for statbuf */ /* Common code to retrieve the file's fileno */ - if (H5F_get_fileno((obj_loc ? obj_loc : grp_loc)->oloc->file, &statbuf->fileno[0]) < 0) + if(H5F_get_fileno((obj_loc ? obj_loc : grp_loc)->oloc->file, &statbuf->fileno[0]) < 0) HGOTO_ERROR(H5E_FILE, H5E_BADVALUE, FAIL, "unable to read fileno"); /* Info for soft and UD links is gotten by H5L_get_info. If we have |