diff options
-rw-r--r-- | src/H5Dchunk.c | 1 | ||||
-rw-r--r-- | src/H5Olayout.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index 00a6b50..67cfe62 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -684,7 +684,6 @@ H5D__chunk_set_info_real(H5O_layout_chunk_t *layout, unsigned ndims, const hsize_t *curr_dims, const hsize_t *max_dims) { unsigned u; /* Local index variable */ - herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_STATIC diff --git a/src/H5Olayout.c b/src/H5Olayout.c index b720f93..2b65e0c 100644 --- a/src/H5Olayout.c +++ b/src/H5Olayout.c @@ -250,7 +250,7 @@ H5O__layout_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, if(mesg->u.chunk.dim[u] == 0) HGOTO_ERROR(H5E_DATASET, H5E_BADVALUE, NULL, "chunk dimension must be positive: mesg->u.chunk.dim[%u] = %u", u, mesg->u.chunk.dim[u]) - } + } /* end for */ /* Compute chunk size */ for(u = 1, mesg->u.chunk.size = mesg->u.chunk.dim[0]; u < mesg->u.chunk.ndims; u++) |