summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-12-16 19:54:56 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-12-16 19:54:56 (GMT)
commitc419289b04a0935f9eae5582016d9e52d7afb25c (patch)
tree23a26fbc28bfb8d68159e5a6e500b1e09382e6a0
parentd30135da2a20eb6122237d31ce84c8ef8847ade5 (diff)
downloadhdf5-c419289b04a0935f9eae5582016d9e52d7afb25c.zip
hdf5-c419289b04a0935f9eae5582016d9e52d7afb25c.tar.gz
hdf5-c419289b04a0935f9eae5582016d9e52d7afb25c.tar.bz2
[svn-r28692] Merge of r28669 from trunk. Minor // comment removal.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only
-rw-r--r--examples/h5_vds-percival-unlim.c5
-rw-r--r--tools/lib/h5tools_dump.c3
2 files changed, 3 insertions, 5 deletions
diff --git a/examples/h5_vds-percival-unlim.c b/examples/h5_vds-percival-unlim.c
index b5f3ebd..2496c37 100644
--- a/examples/h5_vds-percival-unlim.c
+++ b/examples/h5_vds-percival-unlim.c
@@ -288,8 +288,9 @@ main (void)
/* Read all VDS data */
- //EIP We should be able to do it by using H5S_ALL instead of making selection
- // or using H5Sselect_all from vspace.
+ /* EIP We should be able to do it by using H5S_ALL instead of making selection
+ * or using H5Sselect_all from vspace.
+ */
start[0] = 0;
start[1] = 0;
start[2] = 0;
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c
index c6e96e4..39cfbeb 100644
--- a/tools/lib/h5tools_dump.c
+++ b/tools/lib/h5tools_dump.c
@@ -1543,7 +1543,6 @@ h5tools_dump_simple_dset(FILE *stream, const h5tool_format_t *info, h5tools_cont
/* Hyperslab info */
hsize_t hs_offset[H5S_MAX_RANK]; /* starting offset */
hsize_t hs_size[H5S_MAX_RANK]; /* size this pass */
- //hsize_t hs_count[H5S_MAX_RANK]; /* size this pass */
hsize_t hs_nelmts; /* elements in request */
/* VL data special information */
@@ -1626,11 +1625,9 @@ h5tools_dump_simple_dset(FILE *stream, const h5tool_format_t *info, h5tools_cont
hs_size[i] = MIN(total_size[i] - hs_offset[i], sm_size[i]);
ctx->p_max_idx[i] = ctx->p_min_idx[i] + hs_size[i];
hs_nelmts *= hs_size[i];
-// hs_count[i] = 1;
}
H5Sselect_hyperslab(f_space, H5S_SELECT_SET, hs_offset, NULL, hs_size, NULL);
-// H5Sselect_hyperslab(f_space, H5S_SELECT_SET, hs_offset, NULL, hs_count, hs_size);
H5Sselect_hyperslab(sm_space, H5S_SELECT_SET, zero, NULL, &hs_nelmts, NULL);
}
else {