diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-20 17:49:45 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-20 17:49:45 (GMT) |
commit | 5c57329c78777abff993ac40b318688105b3e6d1 (patch) | |
tree | 744a686617d7ed7f4a7df5f752aeec699e3eb8d9 | |
parent | 4dcda7080198443c9f70efd7a4757b38df2a4c28 (diff) | |
download | hdf5-5c57329c78777abff993ac40b318688105b3e6d1.zip hdf5-5c57329c78777abff993ac40b318688105b3e6d1.tar.gz hdf5-5c57329c78777abff993ac40b318688105b3e6d1.tar.bz2 |
[svn-r11281] Purpose:
Code cleanup
Description:
Clean up unused variables & use portability macros better
Platforms tested:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
-rw-r--r-- | src/H5FDmpiposix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FDmpiposix.c b/src/H5FDmpiposix.c index 6ab8912..d93bdc9 100644 --- a/src/H5FDmpiposix.c +++ b/src/H5FDmpiposix.c @@ -846,7 +846,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; @@ -1392,7 +1392,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; |