summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2005-10-19 16:46:12 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2005-10-19 16:46:12 (GMT)
commitc997f29d608d71d39ad61ddb241f1459f2670983 (patch)
treea077ab791caceead29368edcb86d5ae50ee11ac8 /tools/lib/h5diff.c
parentf18867f1db6371da295f695f5d8712024b18c59e (diff)
downloadhdf5-c997f29d608d71d39ad61ddb241f1459f2670983.zip
hdf5-c997f29d608d71d39ad61ddb241f1459f2670983.tar.gz
hdf5-c997f29d608d71d39ad61ddb241f1459f2670983.tar.bz2
[svn-r11584] Purpose:
bug fix Description: an assertion after the search for objects was saying that the number of objects in file should be > 0 removed it, since there can be a case where the number of objects is 0. in this case this was found by a case where zlib was not present and the output file was not written any objects to note: this was only detected on the windows batch files, that do not have a conditional condition to not run tests when a filter is not present Solution: Platforms tested: linux Misc. update:
Diffstat (limited to 'tools/lib/h5diff.c')
-rw-r--r--tools/lib/h5diff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index 8066e5e..7a25d4f 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -256,8 +256,7 @@ h5diff (const char *fname1,
goto out;
}
- assert (nobjects1 > 0);
- assert (nobjects2 > 0);
+
/*-------------------------------------------------------------------------
* get the list of objects in the files