summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 6526c94..64eb784 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -1725,7 +1725,10 @@ h5_verify_cached_stabs(const char *base_name[], hid_t fapl)
if (h5_fixname(base_name[i], fapl, filename, sizeof(filename)) == NULL)
continue;
- H5E_BEGIN_TRY { file = H5Fopen(filename, H5F_ACC_RDONLY, fapl); }
+ H5E_BEGIN_TRY
+ {
+ file = H5Fopen(filename, H5F_ACC_RDONLY, fapl);
+ }
H5E_END_TRY
if (file < 0) {
i++;
@@ -1746,7 +1749,10 @@ h5_verify_cached_stabs(const char *base_name[], hid_t fapl)
return 0;
error:
- H5E_BEGIN_TRY { H5Fclose(file); }
+ H5E_BEGIN_TRY
+ {
+ H5Fclose(file);
+ }
H5E_END_TRY;
return -1;