summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_utils.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-19 22:29:35 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:22 (GMT)
commitd486a9b27e00a4e11fb92fe5d0b2df072efef79d (patch)
tree7c18e2478e9aae0800a16c8723f8dbbd999cd955 /tools/lib/h5tools_utils.c
parentb6b0567bdf6b9cb6658b8051343061ae10aec707 (diff)
downloadhdf5-d486a9b27e00a4e11fb92fe5d0b2df072efef79d.zip
hdf5-d486a9b27e00a4e11fb92fe5d0b2df072efef79d.tar.gz
hdf5-d486a9b27e00a4e11fb92fe5d0b2df072efef79d.tar.bz2
HDFFV-10980 - h5diff uses new ref APIs
Diffstat (limited to 'tools/lib/h5tools_utils.c')
-rw-r--r--tools/lib/h5tools_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c
index 7b47f4d..96f1e04 100644
--- a/tools/lib/h5tools_utils.c
+++ b/tools/lib/h5tools_utils.c
@@ -788,7 +788,7 @@ herr_t
init_objs(hid_t fid, find_objs_t *info, table_t **group_table,
table_t **dset_table, table_t **type_table)
{
- herr_t ret_value = SUCCEED;
+ H5TOOLS_ERR_INIT(herr_t, SUCCEED)
/* Initialize the tables */
init_table(group_table);
@@ -1047,9 +1047,9 @@ h5tools_getstatus(void)
int
h5tools_getenv_update_hyperslab_bufsize(void)
{
+ H5TOOLS_ERR_INIT(int, 1)
const char *env_str = NULL;
long hyperslab_bufsize_mb;
- int ret_value = 1;
/* check if environment variable is set for the hyperslab buffer size */
if (NULL != (env_str = HDgetenv ("H5TOOLS_BUFSIZE"))) {