From 862bc1cc02c80b06600cdd92b8e0d1ed03056f49 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 21:19:41 +0000 Subject: [PATCH] Committing clang-format changes --- src/rest_vol.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/rest_vol.c b/src/rest_vol.c index 3c32a8d9..a6377254 100644 --- a/src/rest_vol.c +++ b/src/rest_vol.c @@ -3164,10 +3164,9 @@ RV_convert_dataspace_shape_to_JSON(hid_t space_id, char **shape_body, char **max strcat(maxdims_out_string_curr_pos++, "0"); } /* end if */ else { - if ((bytes_printed = - snprintf(maxdims_out_string_curr_pos, - maxdims_out_string_new_len - (size_t)buf_ptrdiff, - "%s%" PRIuHSIZE, i > 0 ? "," : "", maxdims[i])) < 0) + if ((bytes_printed = snprintf(maxdims_out_string_curr_pos, + maxdims_out_string_new_len - (size_t)buf_ptrdiff, + "%s%" PRIuHSIZE, i > 0 ? "," : "", maxdims[i])) < 0) FUNC_GOTO_ERROR(H5E_DATASPACE, H5E_SYSERRSTR, FAIL, "snprintf error"); maxdims_out_string_curr_pos += bytes_printed; } /* end else */