diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-01-29 14:19:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-29 14:19:31 (GMT) |
commit | 1bf8fa2665fd606d7c616eaa4223decfce2c25f2 (patch) | |
tree | 71d16fc54d0bdd05ca8b85451026eabb482ee7e2 /src/H5VLint.c | |
parent | 98a27f1fe4f0cb96ce7fdeee2e95079ae19db5cd (diff) | |
download | hdf5-1bf8fa2665fd606d7c616eaa4223decfce2c25f2.zip hdf5-1bf8fa2665fd606d7c616eaa4223decfce2c25f2.tar.gz hdf5-1bf8fa2665fd606d7c616eaa4223decfce2c25f2.tar.bz2 |
1 12 Whitespace changes after clang-format run (#288)
* OESS-98 fix tools test for plugins
* sync fork
* Merge of changes from dev
* Move problem option to bottom of the list until fixed
* HDFFV-11106 - fix parsing optional args
* HDFFV-11106 add note
* grammer fix
* Whitespace after clang formatting
* Undo format version 11 changes
* Update check to working version
Diffstat (limited to 'src/H5VLint.c')
-rw-r--r-- | src/H5VLint.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5VLint.c b/src/H5VLint.c index b44d436..5d9169d 100644 --- a/src/H5VLint.c +++ b/src/H5VLint.c @@ -1020,7 +1020,7 @@ H5VL_free_object(H5VL_object_t *vol_obj) /* Check arguments */ HDassert(vol_obj); - if(--vol_obj->rc == 0) { + if (--vol_obj->rc == 0) { /* Decrement refcount on connector */ if (H5VL__conn_dec_rc(vol_obj->connector) < 0) HGOTO_ERROR(H5E_VOL, H5E_CANTDEC, FAIL, "unable to decrement ref count on VOL connector") @@ -2426,7 +2426,7 @@ done: herr_t H5VL_check_plugin_load(const H5VL_class_t *cls, const H5PL_key_t *key, hbool_t *success) { - herr_t ret_value = SUCCEED; /* Return value */ + herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_NOAPI(FAIL) @@ -2439,16 +2439,16 @@ H5VL_check_plugin_load(const H5VL_class_t *cls, const H5PL_key_t *key, hbool_t * if (key->vol.kind == H5VL_GET_CONNECTOR_BY_NAME) { /* Check if plugin name matches VOL connector class name */ if (cls->name && !HDstrcmp(cls->name, key->vol.u.name)) - *success = TRUE; - } /* end if */ + *success = TRUE; + } /* end if */ else { /* Sanity check */ HDassert(key->vol.kind == H5VL_GET_CONNECTOR_BY_VALUE); /* Check if plugin value matches VOL connector class value */ if (cls->value == key->vol.u.value) - *success = TRUE; - } /* end else */ + *success = TRUE; + } /* end else */ /* Connector is a match, but might not be a compatible version */ if (*success && cls->version != H5VL_VERSION) |