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>2019-12-20 17:22:31 (GMT)
commit2c2c46d4ea16d17e0fe0afeedde1bf828706e202 (patch)
tree945ebb1a99301ccd7819020155bf00d588424d28 /src/H5Rdeprec.c
parent58cf79532129a0df49c5516506cfe8be5e09d3eb (diff)
downloadhdf5-2c2c46d4ea16d17e0fe0afeedde1bf828706e202.zip
hdf5-2c2c46d4ea16d17e0fe0afeedde1bf828706e202.tar.gz
hdf5-2c2c46d4ea16d17e0fe0afeedde1bf828706e202.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 */