diff options
Diffstat (limited to 'tools/lib/h5diff_dset.c')
-rw-r--r-- | tools/lib/h5diff_dset.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/lib/h5diff_dset.c b/tools/lib/h5diff_dset.c index 993a00f..602cce7 100644 --- a/tools/lib/h5diff_dset.c +++ b/tools/lib/h5diff_dset.c @@ -515,7 +515,8 @@ hsize_t diff_datasetid( hid_t did1, } } /* hyperslab read */ - + }/*cmp*/ + /*------------------------------------------------------------------------- * compare attributes * the if condition refers to cases when the dataset is a referenced object @@ -523,9 +524,7 @@ hsize_t diff_datasetid( hid_t did1, */ if (obj1_name) - diff_attr(did1,did2,obj1_name,obj2_name,options); - - }/*cmp*/ + nfound += diff_attr(did1,did2,obj1_name,obj2_name,options); /*------------------------------------------------------------------------- * close |