diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5dumptst.c | 3 | ||||
-rw-r--r-- | tools/h5tools.c | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/tools/h5dumptst.c b/tools/h5dumptst.c index e48f0b9..85d7825 100644 --- a/tools/h5dumptst.c +++ b/tools/h5dumptst.c @@ -58,6 +58,7 @@ typedef struct s1_t { void test_enum(void); void test_objref(void); void test_datareg(void); +void test_nestcomp(void); @@ -1574,7 +1575,7 @@ void test_datareg(void){ void test_nestcomp(){ hid_t file,space,type,type2,dataset; - int i, maxdim = 5, status = 0; + int i, maxdim = 5, status; hsize_t dim = 5; int y = 1; 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 */ |