Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 16, 2024
1 parent 8102e2f commit 862bc1c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/rest_vol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 862bc1c

Please sign in to comment.