diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-07 21:20:28 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-07 21:20:28 (GMT) |
commit | 140f72b74847822e50bd10bb7051049b77f59abb (patch) | |
tree | d6f2af86ac3f1edd21414d97de1771fb382d742d /tools/lib/h5diff.c | |
parent | ef9ffc630ab6449230bb3fec29583264a6c1fe18 (diff) | |
parent | 40338b9e40b980eb4bb709e4f36661d7620d9a1f (diff) | |
download | hdf5-140f72b74847822e50bd10bb7051049b77f59abb.zip hdf5-140f72b74847822e50bd10bb7051049b77f59abb.tar.gz hdf5-140f72b74847822e50bd10bb7051049b77f59abb.tar.bz2 |
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into stackable_vol
Diffstat (limited to 'tools/lib/h5diff.c')
-rw-r--r-- | tools/lib/h5diff.c | 8 |
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"); } |