summaryrefslogtreecommitdiffstats
path: root/src/H5SMcache.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/H5SMcache.c
parent1d46e823172046f259eb054370ea721eacad79b1 (diff)
downloadhdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.zip
hdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.tar.gz
hdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.tar.bz2
remove unnecessary check macro
Diffstat (limited to 'src/H5SMcache.c')
-rw-r--r--src/H5SMcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5SMcache.c b/src/H5SMcache.c
index 218f1ae..ee28fa4 100644
--- a/src/H5SMcache.c
+++ b/src/H5SMcache.c
@@ -397,7 +397,7 @@ H5SM__cache_table_serialize(const H5F_t *f, void *_image, size_t len,
*image++ = H5SM_LIST_VERSION;
/* Is message index a list or a B-tree? */
- H5_CHECKED_ASSIGN(*image++, uint8_t, table->indexes[u].index_type, int);
+ *image++ = (uint8_t)table->indexes[u].index_type;
/* Type of messages in the index */
UINT16ENCODE(image, table->indexes[u].mesg_types);