summaryrefslogtreecommitdiffstats
path: root/src/H5Ocache.c
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2019-01-07 20:07:25 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2019-01-07 20:07:25 (GMT)
commitc092f9167cb47f5f958eb03e11680b81837d60b2 (patch)
tree6c2df0496bf73ddb5ffa3305720c76471852908a /src/H5Ocache.c
parent5b721a060e87092afc9956c39381aba370f37bb4 (diff)
downloadhdf5-c092f9167cb47f5f958eb03e11680b81837d60b2.zip
hdf5-c092f9167cb47f5f958eb03e11680b81837d60b2.tar.gz
hdf5-c092f9167cb47f5f958eb03e11680b81837d60b2.tar.bz2
Removed the previous change in H5O__chunk_deserialize()
Diffstat (limited to 'src/H5Ocache.c')
-rw-r--r--src/H5Ocache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/H5Ocache.c b/src/H5Ocache.c
index 34277d1..085d3bc 100644
--- a/src/H5Ocache.c
+++ b/src/H5Ocache.c
@@ -1404,8 +1404,6 @@ H5O__chunk_deserialize(H5O_t *oh, haddr_t addr, size_t len, const uint8_t *image
if((flags & H5O_MSG_FLAG_WAS_UNKNOWN) && !(flags & H5O_MSG_FLAG_MARK_IF_UNKNOWN))
HGOTO_ERROR(H5E_OHDR, H5E_CANTLOAD, FAIL, "bad flag combination for message")
- if(id >= NELMTS(H5O_msg_class_g))
- HGOTO_ERROR(H5E_OHDR, H5E_CANTLOAD, FAIL, "invalid type of current message")
if((flags & H5O_MSG_FLAG_SHAREABLE)
&& H5O_msg_class_g[id]
&& !(H5O_msg_class_g[id]->share_flags & H5O_SHARE_IS_SHARABLE))