summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-21 17:30:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-21 17:30:57 (GMT)
commit163cf58c9d68cbec83d4addcdf47539e2b2eacab (patch)
treede23cde86f453f7bfc15eef3dbd9281e366d4a2a /src
parent59ac4c5e9dfc32077f351267569c274d6caa6f04 (diff)
downloadhdf5-163cf58c9d68cbec83d4addcdf47539e2b2eacab.zip
hdf5-163cf58c9d68cbec83d4addcdf47539e2b2eacab.tar.gz
hdf5-163cf58c9d68cbec83d4addcdf47539e2b2eacab.tar.bz2
[svn-r12958] Description:
Remove redundant memset for calloc'ed buffer. Tested on: Linux/32 2.6 (chicago)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/H5SM.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/H5SM.c b/src/H5SM.c
index 476bcb9..9e27d67 100755
--- a/src/H5SM.c
+++ b/src/H5SM.c
@@ -616,9 +616,6 @@ H5SM_write_mesg(H5F_t *f, hid_t dxpl_id, H5SM_index_header_t *header,
if(NULL == (encoding_buf = H5MM_calloc(buf_size)))
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate buffer for encoding");
- /* JAMES: make purify happy. I think calloc above should do this. */
- HDmemset(encoding_buf, 0, buf_size);
-
if(H5O_encode(f, encoding_buf, mesg, type_id) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTENCODE, FAIL, "can't encode message to be shared");