summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Sall.c5
-rw-r--r--src/H5Snone.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/H5Sall.c b/src/H5Sall.c
index b8a39cc..702f765 100644
--- a/src/H5Sall.c
+++ b/src/H5Sall.c
@@ -559,7 +559,7 @@ H5S_all_serialize(const H5S_t *space, uint8_t **p)
REVISION LOG
--------------------------------------------------------------------------*/
static herr_t
-H5S_all_deserialize(H5S_t *space, const uint8_t H5_ATTR_UNUSED **p)
+H5S_all_deserialize(H5S_t *space, const uint8_t **p)
{
herr_t ret_value = SUCCEED; /* return value */
@@ -573,6 +573,9 @@ H5S_all_deserialize(H5S_t *space, const uint8_t H5_ATTR_UNUSED **p)
if(H5S_select_all(space, TRUE) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTDELETE, FAIL, "can't change selection")
+ /* Advance decoding pointer */
+ (*p) += 16;
+
done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5S_all_deserialize() */
diff --git a/src/H5Snone.c b/src/H5Snone.c
index 19d5eed..fe8829f 100644
--- a/src/H5Snone.c
+++ b/src/H5Snone.c
@@ -541,6 +541,9 @@ H5S_none_deserialize(H5S_t *space, const uint8_t H5_ATTR_UNUSED **p)
if(H5S_select_none(space) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTDELETE, FAIL, "can't change selection")
+ /* Advance decoding pointer */
+ (*p) += 16;
+
done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5S_none_deserialize() */