diff options
-rw-r--r-- | src/H5FDfamily.c | 1 | ||||
-rw-r--r-- | src/H5FDmpiposix.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/H5FDfamily.c b/src/H5FDfamily.c index 76bb986..0e4a453 100644 --- a/src/H5FDfamily.c +++ b/src/H5FDfamily.c @@ -578,7 +578,6 @@ done: static hsize_t H5FD_family_sb_size(H5FD_t UNUSED *_file) { - H5FD_family_t *file = (H5FD_family_t*)_file; hsize_t ret_value = 0; /*size of header*/ FUNC_ENTER_NOAPI(H5FD_family_sb_size, UFAIL) diff --git a/src/H5FDmpiposix.c b/src/H5FDmpiposix.c index 16c4de6..bce6abb 100644 --- a/src/H5FDmpiposix.c +++ b/src/H5FDmpiposix.c @@ -727,7 +727,7 @@ H5FD_mpiposix_open(const char *name, unsigned flags, hid_t fapl_id, gpfsFcntlHeader_t hdr; gpfsFreeRange_t fr; } hint; - memset(&hint, 0, sizeof hint); + HDmemset(&hint, 0, sizeof hint); hint.hdr.totalLength = sizeof hint; hint.hdr.fcntlVersion = GPFS_FCNTL_CURRENT_VERSION; hint.fr.structLen = sizeof hint.fr; @@ -1273,7 +1273,7 @@ H5FD_mpiposix_write(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, gpfsFcntlHeader_t hdr; gpfsMultipleAccessRange_t mar; } hint; - memset(&hint, 0, sizeof hint); + HDmemset(&hint, 0, sizeof hint); hint.hdr.totalLength = sizeof hint; hint.hdr.fcntlVersion = GPFS_FCNTL_CURRENT_VERSION; hint.mar.structLen = sizeof hint.mar; |