summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2015-12-15 20:52:12 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2015-12-15 20:52:12 (GMT)
commitb3426914a877877b43c90b6804130076ee1b3c2c (patch)
tree0af85202de5e05de17c7d7156327e03d579e4b05 /tools
parent410d8365d0650b3bc9113fbc9176978f83291fbe (diff)
downloadhdf5-b3426914a877877b43c90b6804130076ee1b3c2c.zip
hdf5-b3426914a877877b43c90b6804130076ee1b3c2c.tar.gz
hdf5-b3426914a877877b43c90b6804130076ee1b3c2c.tar.bz2
[svn-r28669] Changes to correct errors found with -ansi flag.
h5tools_dump.c Removed 3 lines commented out with //. h5_vds-percival-unlim.c Changed C++-style comment to C-style comment. Tested with h5committest.new.
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools_dump.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c
index 0d39981..1876e4f 100644
--- a/tools/lib/h5tools_dump.c
+++ b/tools/lib/h5tools_dump.c
@@ -1539,7 +1539,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 */
@@ -1622,11 +1621,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 {