diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-21 17:30:57 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-21 17:30:57 (GMT) |
commit | 163cf58c9d68cbec83d4addcdf47539e2b2eacab (patch) | |
tree | de23cde86f453f7bfc15eef3dbd9281e366d4a2a /src | |
parent | 59ac4c5e9dfc32077f351267569c274d6caa6f04 (diff) | |
download | hdf5-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-x | src/H5SM.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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"); |