summaryrefslogtreecommitdiffstats
path: root/src/H5Dseq.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-16 17:28:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-16 17:28:08 (GMT)
commitb39c60db459793993b21b6231cb990e4646f24b3 (patch)
treefd006dce92cb7a23793ada35c2edb4c7496e4da3 /src/H5Dseq.c
parent3081ac613aa8f0f0c30f8fe876c96e79fb2467b3 (diff)
downloadhdf5-b39c60db459793993b21b6231cb990e4646f24b3.zip
hdf5-b39c60db459793993b21b6231cb990e4646f24b3.tar.gz
hdf5-b39c60db459793993b21b6231cb990e4646f24b3.tar.bz2
[svn-r2945] Purpose:
Small code optimization Description: Removed some unnecessary buffer assignments. Platforms tested: Solaris 2.6 (baldric)
Diffstat (limited to 'src/H5Dseq.c')
-rw-r--r--src/H5Dseq.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/H5Dseq.c b/src/H5Dseq.c
index 007a7fa..209821a 100644
--- a/src/H5Dseq.c
+++ b/src/H5Dseq.c
@@ -59,9 +59,8 @@ herr_t
H5F_seq_read(H5F_t *f, hid_t dxpl_id, const struct H5O_layout_t *layout,
const struct H5O_pline_t *pline, const H5O_fill_t *fill,
const struct H5O_efl_t *efl, const H5S_t *file_space, size_t elmt_size,
- hsize_t seq_len, hssize_t file_offset, void *_buf/*out*/)
+ hsize_t seq_len, hssize_t file_offset, void *buf/*out*/)
{
- uint8_t *buf = (uint8_t*)_buf; /*cast for arithmetic */
hsize_t dset_dims[H5O_LAYOUT_NDIMS]; /* dataspace dimensions */
hssize_t coords[H5O_LAYOUT_NDIMS]; /* offset of hyperslab in dataspace */
hsize_t hslab_size[H5O_LAYOUT_NDIMS]; /* hyperslab size in dataspace*/
@@ -286,9 +285,8 @@ herr_t
H5F_seq_write(H5F_t *f, hid_t dxpl_id, const struct H5O_layout_t *layout,
const struct H5O_pline_t *pline, const H5O_fill_t *fill,
const struct H5O_efl_t *efl, const H5S_t *file_space, size_t elmt_size,
- hsize_t seq_len, hssize_t file_offset, const void *_buf)
+ hsize_t seq_len, hssize_t file_offset, const void *buf)
{
- const uint8_t *buf = (const uint8_t*)_buf; /*cast for arithmetic */
hsize_t dset_dims[H5O_LAYOUT_NDIMS]; /* dataspace dimensions */
hssize_t coords[H5O_LAYOUT_NDIMS]; /* offset of hyperslab in dataspace */
hsize_t hslab_size[H5O_LAYOUT_NDIMS]; /* hyperslab size in dataspace*/