summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSongyu Lu <songyulu@hdfgroup.org>2018-11-15 22:50:13 (GMT)
committerSongyu Lu <songyulu@hdfgroup.org>2018-11-15 22:50:13 (GMT)
commitc923cdad6e515c842f3795a5b6d754ad94021e09 (patch)
tree5ae0f7ebd2a04d28a309def4c316268372dc4cc4
parent198bc059b0d91aa804efe859f0a8961e3ee0cf8f (diff)
downloadhdf5-c923cdad6e515c842f3795a5b6d754ad94021e09.zip
hdf5-c923cdad6e515c842f3795a5b6d754ad94021e09.tar.gz
hdf5-c923cdad6e515c842f3795a5b6d754ad94021e09.tar.bz2
HDFFV-10571: Minor format changes.
-rw-r--r--src/H5Dchunk.c1
-rw-r--r--src/H5Olayout.c2
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++)