summaryrefslogtreecommitdiffstats
path: root/src/H5Dint.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-05-02 02:40:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-05-02 02:40:29 (GMT)
commitf77bb92cc1ae7c01349caf5d51f88212c1dabb83 (patch)
treec6128656b35d3c69e74065f9e5571aa8f8eed940 /src/H5Dint.c
parentbfa57861844fec57e445d9b0cbc61f44e0ef1916 (diff)
downloadhdf5-f77bb92cc1ae7c01349caf5d51f88212c1dabb83.zip
hdf5-f77bb92cc1ae7c01349caf5d51f88212c1dabb83.tar.gz
hdf5-f77bb92cc1ae7c01349caf5d51f88212c1dabb83.tar.bz2
[svn-r26993] Description:
Align w/incoming chunk performance changes, including some small performance improvements here, as well as a few minor general code cleanups. Tested on: Mac OSX/64 10.10.3 (amazon) w/serial & parallel (Too minor to require h5committest)
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r--src/H5Dint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index c626475..23824e3 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -682,7 +682,6 @@ static herr_t
H5D__cache_dataspace_info(const H5D_t *dset)
{
int sndims; /* Signed number of dimensions of dataspace rank */
- unsigned u; /* Local index value */
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -2261,7 +2260,7 @@ H5D__set_extent(H5D_t *dset, const hsize_t *size, hid_t dxpl_id)
*/
/* Update the index values for the cached chunks for this dataset */
if(H5D_CHUNKED == dset->shared->layout.type) {
- /* Update the cached chunk info */
+ /* Set the cached chunk info */
if(H5D__chunk_set_info(dset) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTSET, FAIL, "unable to update # of chunks")
if(H5D__chunk_update_cache(dset, dxpl_id) < 0)