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 Aug 30, 2023
1 parent 2bb1c5a commit f23dd64
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/h5_async_vol.c
Original file line number Diff line number Diff line change
Expand Up @@ -9086,9 +9086,11 @@ async_dataset_read(async_instance_t *aid, size_t count, H5VL_async_t **parent_ob
for (size_t i = 0; i < count; i++) {
if (args->mem_type_id && args->mem_type_id[i] > 0)
H5Tclose(args->mem_type_id[i]);
if (args->mem_space_id && args->mem_space_id[i] > H5S_PLIST && args->mem_space_id[i] < H5S_UNLIMITED)
if (args->mem_space_id && args->mem_space_id[i] > H5S_PLIST &&
args->mem_space_id[i] < H5S_UNLIMITED)
H5Sclose(args->mem_space_id[i]);
if (args->file_space_id && args->file_space_id[i] > H5S_PLIST && args->file_space_id[i] < H5S_UNLIMITED)
if (args->file_space_id && args->file_space_id[i] > H5S_PLIST &&
args->file_space_id[i] < H5S_UNLIMITED)
H5Sclose(args->file_space_id[i]);
}

Expand Down Expand Up @@ -10110,9 +10112,11 @@ async_dataset_write(async_instance_t *aid, size_t count, H5VL_async_t **parent_o
for (size_t i = 0; i < count; i++) {
if (args->mem_type_id && args->mem_type_id[i] > 0)
H5Tclose(args->mem_type_id[i]);
if (args->mem_space_id && args->mem_space_id[i] > H5S_PLIST && args->mem_space_id[i] < H5S_UNLIMITED)
if (args->mem_space_id && args->mem_space_id[i] > H5S_PLIST &&
args->mem_space_id[i] < H5S_UNLIMITED)
H5Sclose(args->mem_space_id[i]);
if (args->file_space_id && args->file_space_id[i] > H5S_PLIST && args->file_space_id[i] < H5S_UNLIMITED)
if (args->file_space_id && args->file_space_id[i] > H5S_PLIST &&
args->file_space_id[i] < H5S_UNLIMITED)
H5Sclose(args->file_space_id[i]);
}
if (args->plist_id > 0)
Expand Down

0 comments on commit f23dd64

Please sign in to comment.