diff options
author | Robb Matzke <matzke@llnl.gov> | 1999-10-07 16:51:49 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1999-10-07 16:51:49 (GMT) |
commit | 20e748496e281cf068227fed2bcbe0aeca09bd7b (patch) | |
tree | 2dea5d5d3e18311329f61f03b69ca9e9a654950c /tools | |
parent | 766d480daf98b8d0aad9e767202fbe21ad101c48 (diff) | |
download | hdf5-20e748496e281cf068227fed2bcbe0aeca09bd7b.zip hdf5-20e748496e281cf068227fed2bcbe0aeca09bd7b.tar.gz hdf5-20e748496e281cf068227fed2bcbe0aeca09bd7b.tar.bz2 |
[svn-r1732] Changes since 19991007
----------------------
./src/H5FDcore.c
Includes private headers instead of public in order to use the
`UNUSED' macro.
./src/H5FDpublic.h
Includes H5public.h just in case.
./src/H5P.c
Removed two unused variables in H5P_copy()
./src/H5FDgass.h
Fixed a C++ comment after a `#endif'
./src/Makefile.in
The H5FDgass.h file is public and must be installed in order for
applications to be able to use HDF5.
./tools/h5tools.c
Removed an unused variable.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5ls.c | 2 | ||||
-rw-r--r-- | tools/h5tools.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c index 4d4d978..3e5b1a4 100644 --- a/tools/h5ls.c +++ b/tools/h5ls.c @@ -2133,7 +2133,7 @@ main (int argc, char *argv[]) *oname = '\0'; } if (file<0) { - fprintf(stderr, "%s: unable to open file\n", fname); + fprintf(stderr, "%s: unable to open file\n", argv[argno-1]); } if (oname) oname++; if (!oname || !*oname) oname = root_name; diff --git a/tools/h5tools.c b/tools/h5tools.c index 5dbb7ff..2eca598 100644 --- a/tools/h5tools.c +++ b/tools/h5tools.c @@ -1426,7 +1426,6 @@ h5dump_simple_mem(FILE *stream, const h5dump_t *info, hid_t type, hid_t space, void *mem) { hsize_t i; /*counters */ - size_t size; /*size of each element */ hsize_t nelmts; /*total selected elmts */ h5dump_context_t ctx; /*printing context */ @@ -1447,7 +1446,6 @@ h5dump_simple_mem(FILE *stream, const h5dump_t *info, hid_t type, nelmts *= ctx.p_max_idx[i] - ctx.p_min_idx[i]; } if (0==nelmts) return 0; /*nothing to print*/ - size = H5Tget_size(type); /* Print it */ h5dump_simple_data(stream, info, -1/*no dataset*/, &ctx, |