summaryrefslogtreecommitdiffstats
path: root/src/H5Rdeprec.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2019-12-20 17:22:31 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2020-01-04 16:03:11 (GMT)
commit617e2166b26f6b872281888c4f9f2486004a1a58 (patch)
tree4d78241fd73966aecb301f03158df3b9c7c80fda /src/H5Rdeprec.c
parentdd3931266a7022bb128dd851713bd2754d4e58eb (diff)
downloadhdf5-617e2166b26f6b872281888c4f9f2486004a1a58.zip
hdf5-617e2166b26f6b872281888c4f9f2486004a1a58.tar.gz
hdf5-617e2166b26f6b872281888c4f9f2486004a1a58.tar.bz2
Cleanups from PR reviews
Diffstat (limited to 'src/H5Rdeprec.c')
-rw-r--r--src/H5Rdeprec.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/H5Rdeprec.c b/src/H5Rdeprec.c
index 67a1c26..25cce85 100644
--- a/src/H5Rdeprec.c
+++ b/src/H5Rdeprec.c
@@ -252,16 +252,16 @@ H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type,
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "invalid location identifier")
#ifndef NDEBUG
-{
- hbool_t is_native = FALSE; /* Whether the src file is using the native VOL connector */
+ {
+ hbool_t is_native = FALSE; /* Whether the src file is using the native VOL connector */
- /* Check if using native VOL connector */
- if(H5VL_object_is_native(vol_obj, &is_native) < 0)
- HGOTO_ERROR(H5E_REFERENCE, H5E_CANTGET, FAIL, "can't query if file uses native VOL connector")
+ /* Check if using native VOL connector */
+ if(H5VL_object_is_native(vol_obj, &is_native) < 0)
+ HGOTO_ERROR(H5E_REFERENCE, H5E_CANTGET, FAIL, "can't query if file uses native VOL connector")
- /* Must use native VOL connector for this operation */
- HDassert(is_native);
-}
+ /* Must use native VOL connector for this operation */
+ HDassert(is_native);
+ }
#endif /* NDEBUG */
/* Get object type */
@@ -487,16 +487,16 @@ H5Rget_region(hid_t id, H5R_type_t ref_type, const void *ref)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "invalid file identifier")
#ifndef NDEBUG
-{
- hbool_t is_native = FALSE; /* Whether the src file is using the native VOL connector */
+ {
+ hbool_t is_native = FALSE; /* Whether the src file is using the native VOL connector */
- /* Check if using native VOL connector */
- if(H5VL_object_is_native(vol_obj, &is_native) < 0)
- HGOTO_ERROR(H5E_REFERENCE, H5E_CANTGET, FAIL, "can't query if file uses native VOL connector")
+ /* Check if using native VOL connector */
+ if(H5VL_object_is_native(vol_obj, &is_native) < 0)
+ HGOTO_ERROR(H5E_REFERENCE, H5E_CANTGET, FAIL, "can't query if file uses native VOL connector")
- /* Must use native VOL connector for this operation */
- HDassert(is_native);
-}
+ /* Must use native VOL connector for this operation */
+ HDassert(is_native);
+ }
#endif /* NDEBUG */
/* Get object type */