summaryrefslogtreecommitdiffstats
path: root/src/H5FScache.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-04 02:52:55 (GMT)
committerkmu <kmu@hdfgroup.org>2019-12-04 02:52:55 (GMT)
commit132fa33dad6badacec90e80768d8dc8e8aa33172 (patch)
treeb296c329b62c9152fce3ca228c121a8cdf55d0c8 /src/H5FScache.c
parentea0759d047dc6421da90375a9c27f7cde0a8e117 (diff)
downloadhdf5-132fa33dad6badacec90e80768d8dc8e8aa33172.zip
hdf5-132fa33dad6badacec90e80768d8dc8e8aa33172.tar.gz
hdf5-132fa33dad6badacec90e80768d8dc8e8aa33172.tar.bz2
fix intel compile warnings
Diffstat (limited to 'src/H5FScache.c')
-rw-r--r--src/H5FScache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5FScache.c b/src/H5FScache.c
index b520458..28c35e4 100644
--- a/src/H5FScache.c
+++ b/src/H5FScache.c
@@ -735,7 +735,7 @@ H5FS__cache_hdr_serialize(const H5F_t *f, void *_image, size_t len,
*image++ = H5FS_HDR_VERSION;
/* Client ID */
- *image++ = fspace->client;
+ H5_CHECKED_ASSIGN(*image++, uint8_t, fspace->client, int);
/* Total space tracked */
H5F_ENCODE_LENGTH(f, image, fspace->tot_space);
@@ -1046,8 +1046,8 @@ H5FS__cache_sinfo_deserialize(const void *_image, size_t len, void *_udata,
/* Walk through the image, deserializing sections */
do {
- hsize_t sect_size; /* Current section size */
- size_t node_count; /* # of sections of this size */
+ hsize_t sect_size = 1; /* Current section size */
+ size_t node_count = 1; /* # of sections of this size */
size_t u; /* Local index variable */
/* The number of sections of this node's size */
@@ -1061,7 +1061,7 @@ H5FS__cache_sinfo_deserialize(const void *_image, size_t len, void *_udata,
/* Loop over nodes of this size */
for(u = 0; u < node_count; u++) {
H5FS_section_info_t *new_sect; /* Section that was deserialized */
- haddr_t sect_addr; /* Address of free space section in the address space */
+ haddr_t sect_addr = 1; /* Address of free space section in the address space */
unsigned sect_type; /* Type of free space section */
unsigned des_flags; /* Flags from deserialize callback */