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 Feb 27, 2024
1 parent 23c3a49 commit 1927c2b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/vol.c
Original file line number Diff line number Diff line change
Expand Up @@ -905,13 +905,12 @@ test_basic_file_operation(const char *env_h5_drvr)
hbool_t default_use_locking = true;
hbool_t default_ignore_disabled_locks = true;

if (H5Pget_file_locking(H5P_DEFAULT, &default_use_locking,
&default_ignore_disabled_locks) < 0)
if (H5Pget_file_locking(H5P_DEFAULT, &default_use_locking, &default_ignore_disabled_locks) < 0)
TEST_ERROR;

if (H5Pset_file_locking(fapl_id, (bool)use_locking_env,
(ignore_disabled_env == FAIL) ? default_ignore_disabled_locks :
(bool)ignore_disabled_env) < 0)
(ignore_disabled_env == FAIL) ? default_ignore_disabled_locks
: (bool)ignore_disabled_env) < 0)
TEST_ERROR;
}

Expand Down

0 comments on commit 1927c2b

Please sign in to comment.