summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-14 17:15:49 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-04-14 17:15:49 (GMT)
commit671c28bfad362c7463aea4070b825eeb3a58dc06 (patch)
tree82c83fcc837eec9757d1217d9bdff65af5e7b647 /src
parenta6d7004c030d492a2d6149d80f0d8998b1d2e9b1 (diff)
downloadhdf5-671c28bfad362c7463aea4070b825eeb3a58dc06.zip
hdf5-671c28bfad362c7463aea4070b825eeb3a58dc06.tar.gz
hdf5-671c28bfad362c7463aea4070b825eeb3a58dc06.tar.bz2
Put multiline if-body in curly braces, repair indentation, remove
gratuitous backslash line continuation, add missing semicolons.
Diffstat (limited to 'src')
-rw-r--r--src/H5Fvfd_swmr.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c
index 86c4bd2..4a7eba3 100644
--- a/src/H5Fvfd_swmr.c
+++ b/src/H5Fvfd_swmr.c
@@ -1316,15 +1316,17 @@ H5F_vfd_swmr_reader_end_of_tick(H5F_t *f)
haddr_t page_addr =
(haddr_t)(removed_page[i] *
f->shared->pb_ptr->page_size);
- if ( H5PB_remove_entry(f->shared, page_addr) < 0 )
- HGOTO_ERROR(H5E_FILE, H5E_CANTFLUSH, FAIL, \
- "remove page buffer entry failed")
+ if (H5PB_remove_entry(f->shared, page_addr) < 0) {
+ HGOTO_ERROR(H5E_FILE, H5E_CANTFLUSH, FAIL,
+ "remove page buffer entry failed");
+ }
}
for (i = 0; i < entries_removed + entries_changed; i++) {
- if ( H5C_evict_or_refresh_all_entries_in_page(f,
- removed_page[i], tmp_tick_num) < 0 )
- HGOTO_ERROR(H5E_FILE, H5E_CANTFLUSH, FAIL, \
- "evict or refresh stale MDC entries failed")
+ if (H5C_evict_or_refresh_all_entries_in_page(f,
+ removed_page[i], tmp_tick_num) < 0) {
+ HGOTO_ERROR(H5E_FILE, H5E_CANTFLUSH, FAIL,
+ "evict or refresh stale MDC entries failed");
+ }
}
#if 0 /* JRM */