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 Mar 27, 2024
1 parent 932fa5e commit 0539ba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/H5TSint.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ H5TS__mutex_acquire(unsigned lock_count, bool *acquired)

/* If acquired, increment the levels of recursion by 'lock_count' - 1 */
if (*acquired) {
for(unsigned u = 0; u < (lock_count - 1); u++)
for (unsigned u = 0; u < (lock_count - 1); u++)
if (H5_UNLIKELY(H5TS_mutex_lock(&H5TS_api_info_p.api_mutex) < 0))
HGOTO_DONE(FAIL);
H5TS_api_info_p.lock_count += lock_count;
Expand Down Expand Up @@ -258,7 +258,7 @@ H5TS__mutex_release(unsigned *lock_count)
H5TS_api_info_p.lock_count = 0;

/* Release the library's API lock 'lock_count' times */
for(unsigned u = 0; u < *lock_count; u++)
for (unsigned u = 0; u < *lock_count; u++)
if (H5_UNLIKELY(H5TS_mutex_unlock(&H5TS_api_info_p.api_mutex) < 0))
HGOTO_DONE(FAIL);

Expand Down

0 comments on commit 0539ba3

Please sign in to comment.