summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.c
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2019-02-28 20:29:04 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2019-02-28 20:29:04 (GMT)
commit7f797174c7a013359e94d1aa5d6540a5629aa550 (patch)
tree0320bfdb5418ab23978afbb1777539270f04c1f2 /tools/lib/h5diff.c
parent5eef94f83f4875b64ffe7f9cea05d965bddbd802 (diff)
parent7eb65dbad45f473a953db595147b88d03f671658 (diff)
downloadhdf5-7f797174c7a013359e94d1aa5d6540a5629aa550.zip
hdf5-7f797174c7a013359e94d1aa5d6540a5629aa550.tar.gz
hdf5-7f797174c7a013359e94d1aa5d6540a5629aa550.tar.bz2
Merge branch 'hdf5_1_10_5' into 1.10/master
Diffstat (limited to 'tools/lib/h5diff.c')
-rw-r--r--tools/lib/h5diff.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index 28b1f00..594bf51 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -274,12 +274,15 @@ build_match_list (const char *objname1, trav_info_t *info1, const char *objname2
int cmp;
trav_table_t *table = NULL;
size_t idx;
+ int ret_value = 0;
h5difftrace("build_match_list start\n");
/* init */
trav_table_init(&table);
- if (table == NULL)
- H5TOOLS_INFO(H5E_tools_min_id_g, "Cannot create tarverse table");
+ if (table == NULL) {
+ H5TOOLS_INFO(H5E_tools_min_id_g, "Cannot create traverse table");
+ HGOTO_DONE(-1);
+ }
/*
* This is necessary for the case that given objects are group and
* have different names (ex: obj1 is /grp1 and obj2 is /grp5).
@@ -367,6 +370,7 @@ build_match_list (const char *objname1, trav_info_t *info1, const char *objname2
free_exclude_path_list (opts);
+done:
*table_out = table;
h5difftrace("build_match_list finish\n");
}