diff options
author | Quincey Koziol <koziol@lbl.gov> | 2020-08-10 17:58:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@lbl.gov> | 2020-08-22 19:01:59 (GMT) |
commit | 41ccf615262e48f1df824ea09d70a9223243585a (patch) | |
tree | 41cf17c9684fa441526fd9ae0532e5f48f5e3607 /src/H5I.c | |
parent | 1b0c423ba0a59aec1994bcb7c6a98eebd72177fa (diff) | |
download | hdf5-41ccf615262e48f1df824ea09d70a9223243585a.zip hdf5-41ccf615262e48f1df824ea09d70a9223243585a.tar.gz hdf5-41ccf615262e48f1df824ea09d70a9223243585a.tar.bz2 |
Correct typos w/HGOTO_DONE & HGOTO_ERROR
Diffstat (limited to 'src/H5I.c')
-rw-r--r-- | src/H5I.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1124,9 +1124,8 @@ H5I_is_file_object(hid_t id) /* Return TRUE if the ID is a file object (dataset, group, map, or committed * datatype), FALSE otherwise. */ - if (H5I_DATASET == id_type || H5I_GROUP == id_type || H5I_MAP == id_type) { + if (H5I_DATASET == id_type || H5I_GROUP == id_type || H5I_MAP == id_type) ret_value = TRUE; - } else if (H5I_DATATYPE == id_type) { H5T_t *dt = NULL; @@ -1136,9 +1135,8 @@ H5I_is_file_object(hid_t id) ret_value = H5T_is_named(dt); } - else { + else ret_value = FALSE; - } done: FUNC_LEAVE_NOAPI(ret_value); |