From 2999a940eaed666381ebd2b31fec9840b117ea78 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:56:33 +0000 Subject: [PATCH] Committing clang-format changes --- src/H5B.c | 5 +++-- src/H5Bcache.c | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/H5B.c b/src/H5B.c index 1c5e13e8fb5..85b66f25e51 100644 --- a/src/H5B.c +++ b/src/H5B.c @@ -1049,7 +1049,8 @@ H5B__insert_helper(H5F_t *f, H5B_ins_ud_t *bt_ud, const H5B_class_t *type, uint8 *------------------------------------------------------------------------- */ static herr_t -H5B__iterate_helper(H5F_t *f, const H5B_class_t *type, haddr_t addr, unsigned exp_level, H5B_operator_t op, void *udata) +H5B__iterate_helper(H5F_t *f, const H5B_class_t *type, haddr_t addr, unsigned exp_level, H5B_operator_t op, + void *udata) { H5B_t *bt = NULL; /* Pointer to current B-tree node */ H5UC_t *rc_shared; /* Ref-counted shared info */ @@ -1086,7 +1087,7 @@ H5B__iterate_helper(H5F_t *f, const H5B_class_t *type, haddr_t addr, unsigned ex /* Iterate over node's children */ for (u = 0; u < bt->nchildren && ret_value == H5_ITER_CONT; u++) { if (bt->level > 0) - ret_value = H5B__iterate_helper(f, type, bt->child[u], bt->level-1, op, udata); + ret_value = H5B__iterate_helper(f, type, bt->child[u], bt->level - 1, op, udata); else ret_value = (*op)(f, H5B_NKEY(bt, shared, u), bt->child[u], H5B_NKEY(bt, shared, u + 1), udata); if (ret_value < 0) diff --git a/src/H5Bcache.c b/src/H5Bcache.c index 78f87bce7e3..8c4810af897 100644 --- a/src/H5Bcache.c +++ b/src/H5Bcache.c @@ -173,8 +173,7 @@ H5B__cache_deserialize(const void *_image, size_t len, void *_udata, bool H5_ATT /* Check in case of level is corrupted, if expected level is known */ if (udata->exp_level != H5B_UNKNOWN_NODELEVEL) if (bt->level != udata->exp_level) - HGOTO_ERROR(H5E_BTREE, H5E_BADVALUE, NULL, - "level is not as expected, possibly corrupted"); + HGOTO_ERROR(H5E_BTREE, H5E_BADVALUE, NULL, "level is not as expected, possibly corrupted"); /* Entries used */ if (H5_IS_BUFFER_OVERFLOW(image, 2, p_end))