summaryrefslogtreecommitdiffstats
path: root/test/gheap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gheap.c')
-rw-r--r--test/gheap.c30
1 files changed, 24 insertions, 6 deletions
diff --git a/test/gheap.c b/test/gheap.c
index 728f282..95594ee 100644
--- a/test/gheap.c
+++ b/test/gheap.c
@@ -149,7 +149,10 @@ test_1(hid_t fapl)
return 0;
error:
- H5E_BEGIN_TRY { H5Fclose(file); }
+ H5E_BEGIN_TRY
+ {
+ H5Fclose(file);
+ }
H5E_END_TRY;
if (obj)
HDfree(obj);
@@ -246,7 +249,10 @@ test_2(hid_t fapl)
return 0;
error:
- H5E_BEGIN_TRY { H5Fclose(file); }
+ H5E_BEGIN_TRY
+ {
+ H5Fclose(file);
+ }
H5E_END_TRY;
if (obj)
HDfree(obj);
@@ -333,7 +339,10 @@ test_3(hid_t fapl)
return 0;
error:
- H5E_BEGIN_TRY { H5Fclose(file); }
+ H5E_BEGIN_TRY
+ {
+ H5Fclose(file);
+ }
H5E_END_TRY;
if (obj)
HDfree(obj);
@@ -426,7 +435,10 @@ test_4(hid_t fapl)
return 0;
error:
- H5E_BEGIN_TRY { H5Fclose(file); }
+ H5E_BEGIN_TRY
+ {
+ H5Fclose(file);
+ }
H5E_END_TRY;
if (obj)
HDfree(obj);
@@ -542,7 +554,10 @@ test_ooo_indices(hid_t fapl)
return 0;
error:
- H5E_BEGIN_TRY { H5Fclose(file); }
+ H5E_BEGIN_TRY
+ {
+ H5Fclose(file);
+ }
H5E_END_TRY;
if (obj)
HDfree(obj);
@@ -597,7 +612,10 @@ main(void)
HDexit(EXIT_SUCCESS);
error:
- H5E_BEGIN_TRY { H5Pclose(fapl_id); }
+ H5E_BEGIN_TRY
+ {
+ H5Pclose(fapl_id);
+ }
H5E_END_TRY;
if (api_ctx_pushed)