diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Sall.c | 5 | ||||
-rw-r--r-- | src/H5Snone.c | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/H5Sall.c b/src/H5Sall.c index 702f765..b8a39cc 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 **p) +H5S_all_deserialize(H5S_t *space, const uint8_t H5_ATTR_UNUSED **p) { herr_t ret_value = SUCCEED; /* return value */ @@ -573,9 +573,6 @@ H5S_all_deserialize(H5S_t *space, const uint8_t **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 77f8af7..19d5eed 100644 --- a/src/H5Snone.c +++ b/src/H5Snone.c @@ -527,7 +527,7 @@ H5S_none_serialize(const H5S_t *space, uint8_t **p) REVISION LOG --------------------------------------------------------------------------*/ static herr_t -H5S_none_deserialize(H5S_t *space, const uint8_t **p) +H5S_none_deserialize(H5S_t *space, const uint8_t H5_ATTR_UNUSED **p) { herr_t ret_value = SUCCEED; /* return value */ @@ -541,9 +541,6 @@ H5S_none_deserialize(H5S_t *space, const uint8_t **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() */ |