summaryrefslogtreecommitdiffstats
path: root/src/H5Tcompound.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:48:28 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:48:28 (GMT)
commit10343c197906415388f2a4c8d292e21d25cf7381 (patch)
treeb3a1ac91bb3cea2ec2bfb5d6a228813b646f15c9 /src/H5Tcompound.c
parent43ce4b5e6e5eb4e848bf1726252f1ca17212e545 (diff)
parent3088c6abec27ad477031a71d947ac3be4cb2429d (diff)
downloadhdf5-10343c197906415388f2a4c8d292e21d25cf7381.zip
hdf5-10343c197906415388f2a4c8d292e21d25cf7381.tar.gz
hdf5-10343c197906415388f2a4c8d292e21d25cf7381.tar.bz2
Merge pull request #2903 in HDFFV/hdf5 from ~BYRN/hdf5_clang_format:hdf5_1_12 to hdf5_1_12
* commit '3088c6abec27ad477031a71d947ac3be4cb2429d': define name warning format fixes and define name from develop Src file format preventive updates Add clang-format changes from develop.
Diffstat (limited to 'src/H5Tcompound.c')
-rw-r--r--src/H5Tcompound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Tcompound.c b/src/H5Tcompound.c
index caf81cb..ea8d756 100644
--- a/src/H5Tcompound.c
+++ b/src/H5Tcompound.c
@@ -242,7 +242,7 @@ done:
/*-------------------------------------------------------------------------
* Function: H5T_get_member_type
*
- * Purpose: Returns a copy of the data type of the specified member.
+ * Purpose: Returns a copy of the data type of the specified member.
*
* Return: Success: A copy of the member datatype;
* modifying the returned datatype does not
@@ -582,7 +582,7 @@ H5T__pack(const H5T_t *dt)
for(i = 0, offset = 0; i < dt->shared->u.compnd.nmembs; i++) {
dt->shared->u.compnd.memb[i].offset = offset;
offset += dt->shared->u.compnd.memb[i].size;
- } /* end for */
+ }
/* Change total size */
dt->shared->size = MAX(1, offset);