summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-20 17:49:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-20 17:49:41 (GMT)
commitd29082f1659e2b5faa5fda61003b792cc5c9c4c7 (patch)
tree770a177acea5b19380fc286a8c0a1454b34829b2 /src
parenta0530d368bc11e6ca492db47a7400150eadae377 (diff)
downloadhdf5-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')
-rw-r--r--src/H5FDfamily.c1
-rw-r--r--src/H5FDmpiposix.c4
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;