summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff_dset.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-12-04 19:35:33 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-12-04 19:35:33 (GMT)
commit28e43d818f105e2b93caa1b39a0ea056d8f3393e (patch)
tree69d9ba95cc9389609e87e17ff6f54d1a2a436caf /tools/lib/h5diff_dset.c
parent967a04fdec8aa15d93978cd201cd4ba0a583d6e2 (diff)
downloadhdf5-28e43d818f105e2b93caa1b39a0ea056d8f3393e.zip
hdf5-28e43d818f105e2b93caa1b39a0ea056d8f3393e.tar.gz
hdf5-28e43d818f105e2b93caa1b39a0ea056d8f3393e.tar.bz2
[svn-r7913] Purpose:
code clean Description: separated the h5repack code in several modules Solution: Platforms tested: linux IRIX solaris Misc. update:
Diffstat (limited to 'tools/lib/h5diff_dset.c')
-rw-r--r--tools/lib/h5diff_dset.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lib/h5diff_dset.c b/tools/lib/h5diff_dset.c
index 9088c3a..767db68 100644
--- a/tools/lib/h5diff_dset.c
+++ b/tools/lib/h5diff_dset.c
@@ -347,10 +347,12 @@ int diff_datasetid( hid_t dset1_id,
/*-------------------------------------------------------------------------
* compare attributes
+ * the if condition refers to cases when the dataset is a referenced object
*-------------------------------------------------------------------------
*/
- nfound=diff_attr(dset1_id,dset2_id,obj1_name,obj2_name,options);
+ if (obj1_name)
+ nfound=diff_attr(dset1_id,dset2_id,obj1_name,obj2_name,options);
/*-------------------------------------------------------------------------
* close