summaryrefslogtreecommitdiffstats
path: root/test/links.c
diff options
context:
space:
mode:
authorJacob Smith <jake.smith@hdfgroup.org>2018-12-20 17:12:53 (GMT)
committerJacob Smith <jake.smith@hdfgroup.org>2018-12-20 17:12:53 (GMT)
commit210ab507256c8b70aac4fee1f4bef1ca25570814 (patch)
tree51fc4529712528210fd8aebcaf5cafb5a11de5c3 /test/links.c
parent38de07aea3c824e1fc332e7c03c20e1d0711ecb1 (diff)
downloadhdf5-210ab507256c8b70aac4fee1f4bef1ca25570814.zip
hdf5-210ab507256c8b70aac4fee1f4bef1ca25570814.tar.gz
hdf5-210ab507256c8b70aac4fee1f4bef1ca25570814.tar.bz2
Fix mistake with H5E_BEGIN_TRY {...} H5E_END_TRY block containing ERROR-raising macros.
Formatting tweaks.
Diffstat (limited to 'test/links.c')
-rw-r--r--test/links.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/links.c b/test/links.c
index 5038349..4951038 100644
--- a/test/links.c
+++ b/test/links.c
@@ -15086,7 +15086,7 @@ main(void)
nerrors += group_info_old(fapl) < 0 ? 1 : 0;
if (minimize_dset_oh) {
- if (0 > H5Pclose(dcpl_g))
+ if (H5Pclose(dcpl_g) < 0)
TEST_ERROR;
dcpl_g = -1;
}