diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-10 20:36:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-10 20:36:33 (GMT) |
commit | c0c896e724c77226e3a73379f3571b323893335d (patch) | |
tree | 6ad76b3f1d04661b3353664d7a743bb7fea98362 /src/H5Oginfo.c | |
parent | 65d30cc9c36b782c704daeb4b3f75cdbc7bff680 (diff) | |
download | hdf5-c0c896e724c77226e3a73379f3571b323893335d.zip hdf5-c0c896e724c77226e3a73379f3571b323893335d.tar.gz hdf5-c0c896e724c77226e3a73379f3571b323893335d.tar.bz2 |
[svn-r12740] Description:
Update datasets and the layout, attributes and fill-value
object header messages to use the latest version
of the file format flag.
Tested on:
FreeBSD 4.11 (sleipnir)
Linux/64 2.4 (mir)
Linux/32 2.4 (heping)
Diffstat (limited to 'src/H5Oginfo.c')
-rw-r--r-- | src/H5Oginfo.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/H5Oginfo.c b/src/H5Oginfo.c index 7ca79df..ae8aaef 100644 --- a/src/H5Oginfo.c +++ b/src/H5Oginfo.c @@ -104,11 +104,6 @@ H5O_ginfo_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const uint8_t *p) /* check args */ HDassert(p); -#ifndef NDEBUG -{ - const uint8_t *start_p = p; -#endif /* NDEBUG */ - /* Version of message */ if(*p++ != H5O_GINFO_VERSION) HGOTO_ERROR(H5E_OHDR, H5E_CANTLOAD, NULL, "bad version number for message") @@ -130,11 +125,6 @@ H5O_ginfo_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const uint8_t *p) UINT32DECODE(p, ginfo->est_num_entries) UINT32DECODE(p, ginfo->est_name_len) -#ifndef NDEBUG - HDassert((size_t)(p - start_p) == H5O_ginfo_size(f, ginfo)); -} -#endif /* NDEBUG */ - /* Set return value */ ret_value = ginfo; @@ -174,11 +164,6 @@ H5O_ginfo_encode(H5F_t UNUSED *f, uint8_t *p, const void *_mesg) HDassert(p); HDassert(ginfo); -#ifndef NDEBUG -{ - uint8_t *start_p = p; -#endif /* NDEBUG */ - /* Message version */ *p++ = H5O_GINFO_VERSION; @@ -195,11 +180,6 @@ H5O_ginfo_encode(H5F_t UNUSED *f, uint8_t *p, const void *_mesg) UINT32ENCODE(p, ginfo->est_num_entries) UINT32ENCODE(p, ginfo->est_name_len) -#ifndef NDEBUG - HDassert((size_t)(p - start_p) == H5O_ginfo_size(f, ginfo)); -} -#endif /* NDEBUG */ - FUNC_LEAVE_NOAPI(SUCCEED) } /* end H5O_ginfo_encode() */ |