summaryrefslogtreecommitdiffstats
path: root/src/H5Osdim.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-09-16 20:07:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-09-16 20:07:12 (GMT)
commit85af38c6a1b3107fb005c6f8e874cbc5ae9c8e37 (patch)
treeb1038dd41d1b9b3e498d0ea73677ae8887bcc0fc /src/H5Osdim.c
parent932ec25e542e1aae86e4df86a934122761032b01 (diff)
downloadhdf5-85af38c6a1b3107fb005c6f8e874cbc5ae9c8e37.zip
hdf5-85af38c6a1b3107fb005c6f8e874cbc5ae9c8e37.tar.gz
hdf5-85af38c6a1b3107fb005c6f8e874cbc5ae9c8e37.tar.bz2
[svn-r91] Bug fixes for multiple datasets in the file. Interim checkin, theres still
a problem with the simple dimensionality caching.
Diffstat (limited to 'src/H5Osdim.c')
-rw-r--r--src/H5Osdim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Osdim.c b/src/H5Osdim.c
index 6ab0519..1d44f71 100644
--- a/src/H5Osdim.c
+++ b/src/H5Osdim.c
@@ -217,6 +217,7 @@ H5O_sim_dim_fast (const H5G_entry_t *ent, void *mesg)
/* check args */
assert (ent);
+ assert (mesg);
if (H5G_CACHED_SDATA==ent->type)
{
@@ -280,7 +281,7 @@ H5O_sim_dim_cache (H5G_entry_t *ent, const void *mesg)
modified = BTRUE;
ent->type = H5G_CACHED_SDATA;
UINT32ENCODE(p,sdim->rank);
- for(u=0; u<=sdim->rank; u++);
+ for(u=0; u<=sdim->rank; u++)
UINT32ENCODE(p,sdim->size[u]);
} /* end if */
else