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 Oct 26, 2024
1 parent 2af59a1 commit a2e0f5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/H5FD.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ H5FD_register(const void *_cls, size_t size, bool app_ref)

/* Copy the class structure so the caller can reuse or free it */
if (NULL == (saved = (H5FD_class_t *)H5MM_malloc(size)))
HGOTO_ERROR(H5E_VFL, H5E_CANTALLOC, H5I_INVALID_HID, "memory allocation failed for file driver class struct");
HGOTO_ERROR(H5E_VFL, H5E_CANTALLOC, H5I_INVALID_HID,
"memory allocation failed for file driver class struct");
H5MM_memcpy(saved, cls, size);

/* Create the new class ID */
Expand Down
4 changes: 2 additions & 2 deletions src/H5FDspace.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static haddr_t
H5FD__extend(H5FD_t *file, H5FD_mem_t type, hsize_t size)
{
haddr_t eoa; /* Address of end-of-allocated space */
herr_t status; /* Generic status return */
herr_t status; /* Generic status return */
haddr_t ret_value = HADDR_UNDEF; /* Return value */

FUNC_ENTER_PACKAGE
Expand Down Expand Up @@ -147,7 +147,7 @@ H5FD__alloc_real(H5FD_t *file, H5FD_mem_t type, hsize_t size, haddr_t *frag_addr
hsize_t extra; /* Extra space to allocate, to align request */
unsigned long flags = 0; /* Driver feature flags */
bool use_alloc_size; /* Just pass alloc size to the driver */
herr_t status; /* Generic status return */
herr_t status; /* Generic status return */
haddr_t ret_value = HADDR_UNDEF; /* Return value */

FUNC_ENTER_PACKAGE
Expand Down

0 comments on commit a2e0f5b

Please sign in to comment.