summaryrefslogtreecommitdiffstats
path: root/tools/h5tools.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-04-19 23:11:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-04-19 23:11:06 (GMT)
commit7438609ee2a445521b461faa122554b253283f51 (patch)
tree8fd14659340dc57719e85ddc5a92edbca64bcb66 /tools/h5tools.c
parentcfea54b1e255966549829597c18f470f7156be1d (diff)
downloadhdf5-7438609ee2a445521b461faa122554b253283f51.zip
hdf5-7438609ee2a445521b461faa122554b253283f51.tar.gz
hdf5-7438609ee2a445521b461faa122554b253283f51.tar.bz2
[svn-r2162] Various small fixes to address SGI compiler warnings.
Diffstat (limited to 'tools/h5tools.c')
-rw-r--r--tools/h5tools.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/h5tools.c b/tools/h5tools.c
index 9e3f620..58b53ed 100644
--- a/tools/h5tools.c
+++ b/tools/h5tools.c
@@ -1365,7 +1365,9 @@ h5dump_simple_dset(FILE *stream, const h5dump_t *info, hid_t dset,
hsize_t hs_size[H5S_MAX_RANK]; /*size this pass */
hsize_t hs_nelmts; /*elements in request */
+#if 0
hsize_t dim_n_size;
+#endif
/*
* Check that everything looks okay. The dimensionality must not be too
@@ -1419,12 +1421,16 @@ h5dump_simple_dset(FILE *stream, const h5dump_t *info, hid_t dset,
hs_size, NULL);
H5Sselect_hyperslab(sm_space, H5S_SELECT_SET, zero, NULL,
&hs_nelmts, NULL);
+#if 0
dim_n_size = total_size[ctx.ndims-1];
+#endif
} else {
H5Sselect_all(f_space);
H5Sselect_all(sm_space);
hs_nelmts = 1;
+#if 0
dim_n_size = 1;
+#endif
}
/* Read the data */