summaryrefslogtreecommitdiffstats
path: root/src/H5Dcontig.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/H5Dcontig.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/H5Dcontig.c')
-rw-r--r--src/H5Dcontig.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Dcontig.c b/src/H5Dcontig.c
index ccd6860..385eb0b 100644
--- a/src/H5Dcontig.c
+++ b/src/H5Dcontig.c
@@ -44,9 +44,8 @@ static intn interface_initialize_g = 0;
*/
herr_t
H5F_contig_read(H5F_t *f, H5FD_mem_t type, haddr_t addr, hsize_t size, hid_t dxpl_id,
- void *_buf/*out*/)
+ void *buf/*out*/)
{
- uint8_t *buf = (uint8_t*)_buf; /*cast for arithmetic */
haddr_t eoa; /*end of file address */
FUNC_ENTER(H5F_contig_read, FAIL);