From f2f1396de9653194ab20b04af43c6880ed50e70f Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 18:52:55 +0000 Subject: [PATCH] Committing clang-format changes --- test/error_test.c | 2 +- test/links.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/error_test.c b/test/error_test.c index 54a6f8031ef..204055097b8 100644 --- a/test/error_test.c +++ b/test/error_test.c @@ -191,7 +191,7 @@ init_error(void) TEST_ERROR; /* Account for null terminator */ - if (cls_size != H5Eget_class_name(ERR_CLS, cls_name, (size_t)cls_size+1)) + if (cls_size != H5Eget_class_name(ERR_CLS, cls_name, (size_t)cls_size + 1)) TEST_ERROR; if (strcmp(ERR_CLS_NAME, cls_name) != 0) TEST_ERROR; diff --git a/test/links.c b/test/links.c index 6f2212a7c9e..229b753048a 100644 --- a/test/links.c +++ b/test/links.c @@ -1949,7 +1949,7 @@ test_deprec(hid_t fapl, bool new_format) hsize_t num_objs; /* Number of objects in a group */ char filename[1024]; char tmpstr[1024]; - int len = 0; /* Length of comment */ + int len = 0; /* Length of comment */ if (new_format) TESTING("backwards compatibility (w/new group format)"); @@ -1972,7 +1972,7 @@ test_deprec(hid_t fapl, bool new_format) if (H5Gset_comment(file_id, "group1", "comment") < 0) FAIL_STACK_ERROR; - if ((len=H5Gget_comment(file_id, "group1", 0, NULL)) < 0) + if ((len = H5Gget_comment(file_id, "group1", 0, NULL)) < 0) FAIL_STACK_ERROR; /* Returned length should be the same as strlen of the comment */ @@ -1980,7 +1980,7 @@ test_deprec(hid_t fapl, bool new_format) FAIL_STACK_ERROR; /* Get and verify the comment */ - if (H5Gget_comment(file_id, "group1", (size_t)len+1, tmpstr) < 0) + if (H5Gget_comment(file_id, "group1", (size_t)len + 1, tmpstr) < 0) FAIL_STACK_ERROR; if (strcmp(tmpstr, "comment") != 0) TEST_ERROR;