diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-20 17:49:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-20 17:49:41 (GMT) |
commit | d29082f1659e2b5faa5fda61003b792cc5c9c4c7 (patch) | |
tree | 770a177acea5b19380fc286a8c0a1454b34829b2 /src/H5FDmpiposix.c | |
parent | a0530d368bc11e6ca492db47a7400150eadae377 (diff) | |
download | hdf5-d29082f1659e2b5faa5fda61003b792cc5c9c4c7.zip hdf5-d29082f1659e2b5faa5fda61003b792cc5c9c4c7.tar.gz hdf5-d29082f1659e2b5faa5fda61003b792cc5c9c4c7.tar.bz2 |
[svn-r11280] Purpose:
Code cleanup
Description:
Clean up unused variables & use portability macros better
Platforms tested:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'src/H5FDmpiposix.c')
-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 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; |