summaryrefslogtreecommitdiffstats
path: root/src/H5Distore.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-06-17 21:15:32 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-06-17 21:15:32 (GMT)
commitdd23059807cd092c50747479141be92a8fd80813 (patch)
tree830d7defcf4faa2fce7f10bb178dbd3bc8338048 /src/H5Distore.c
parent22538a0c799bcb82b40346849776e354fbc18fee (diff)
downloadhdf5-dd23059807cd092c50747479141be92a8fd80813.zip
hdf5-dd23059807cd092c50747479141be92a8fd80813.tar.gz
hdf5-dd23059807cd092c50747479141be92a8fd80813.tar.bz2
[svn-r430] Changes since 19980617
---------------------- ./src/H5T.c Fixed a potential division by zero error. ./src/H5Fistore.c Fixed an assertion failure that I accidently introduced with the previous changes.
Diffstat (limited to 'src/H5Distore.c')
-rw-r--r--src/H5Distore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c
index 9634457..de6a1cb 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -1052,7 +1052,7 @@ H5F_istore_lock (H5F_t *f, const H5O_layout_t *layout,
}
}
- assert (chunk_size>0);
+ assert (found>=0 || chunk_size>0);
if (found<0 && chunk_size<=f->shared->access_parms->rdcc_nbytes) {
/*
* Add the chunk to the beginning of the cache after pruning the cache