summaryrefslogtreecommitdiffstats
path: root/src/H5Ofsinfo.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-06 20:12:57 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:25 (GMT)
commit271bce5b10017010e861835e5d3d1137a7fb6df4 (patch)
tree2880328a49f8371d0aad354503c71ec8319c89d5 /src/H5Ofsinfo.c
parent1d46e823172046f259eb054370ea721eacad79b1 (diff)
downloadhdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.zip
hdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.tar.gz
hdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.tar.bz2
remove unnecessary check macro
Diffstat (limited to 'src/H5Ofsinfo.c')
-rw-r--r--src/H5Ofsinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Ofsinfo.c b/src/H5Ofsinfo.c
index 2e40750..78e8e19 100644
--- a/src/H5Ofsinfo.c
+++ b/src/H5Ofsinfo.c
@@ -223,8 +223,8 @@ H5O_fsinfo_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, c
HDassert(p);
HDassert(fsinfo);
- *p++ = (uint8_t)fsinfo->version; /* message version */
- H5_CHECKED_ASSIGN(*p++, uint8_t, fsinfo->strategy, unsigned); /* File space strategy */
+ *p++ = (uint8_t)fsinfo->version; /* message version */
+ *p++ = (uint8_t)fsinfo->strategy; /* File space strategy */
*p++ = (unsigned char)fsinfo->persist; /* Free-space persist or not */
H5F_ENCODE_LENGTH(f, p, fsinfo->threshold); /* Free-space section size threshold */