diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-10-19 16:46:12 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-10-19 16:46:12 (GMT) |
commit | c997f29d608d71d39ad61ddb241f1459f2670983 (patch) | |
tree | a077ab791caceead29368edcb86d5ae50ee11ac8 /tools/lib/h5diff.c | |
parent | f18867f1db6371da295f695f5d8712024b18c59e (diff) | |
download | hdf5-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.c | 3 |
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 |