diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2019-12-28 08:16:44 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:22 (GMT) |
commit | ac6aeb9adf2831b1c8c661d3104cf88e6bf661e3 (patch) | |
tree | e5634c5c2adaa9962c8df3ebb6896a1e01980238 /tools/lib/h5diff_util.c | |
parent | d4aa380dd1533893fea0d50b432aaa9a3aefb221 (diff) | |
download | hdf5-ac6aeb9adf2831b1c8c661d3104cf88e6bf661e3.zip hdf5-ac6aeb9adf2831b1c8c661d3104cf88e6bf661e3.tar.gz hdf5-ac6aeb9adf2831b1c8c661d3104cf88e6bf661e3.tar.bz2 |
Clean up tools warnings introduced by H5TOOLS_ERR_INIT macro
Diffstat (limited to 'tools/lib/h5diff_util.c')
-rw-r--r-- | tools/lib/h5diff_util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/lib/h5diff_util.c b/tools/lib/h5diff_util.c index 98df0c7..8da995a 100644 --- a/tools/lib/h5diff_util.c +++ b/tools/lib/h5diff_util.c @@ -339,9 +339,8 @@ herr_t match_up_memsize (hid_t f_tid1_id, hid_t f_tid2_id, hid_t *m_tid1, hid_t *m_tid2, size_t *m_size1, size_t *m_size2) { - H5TOOLS_ERR_INIT(herr_t, SUCCEED) + herr_t ret_value = SUCCEED; - H5TOOLS_PUSH_STACK(); if((*m_size1) != (*m_size2)) { if((*m_size1) < (*m_size2)) { H5Tclose(*m_tid1); @@ -365,7 +364,6 @@ herr_t match_up_memsize (hid_t f_tid1_id, hid_t f_tid2_id, done: H5TOOLS_ENDDEBUG("exit"); - H5TOOLS_POP_STACK(); return ret_value; } |