summaryrefslogtreecommitdiffstats
path: root/tools/h5tools.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-06-11 04:22:59 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-06-11 04:22:59 (GMT)
commitd6ba8a5095103b5799cd6aef4f291af275dca08d (patch)
tree0638f43da015f4a4f8fde47546bbf18f3e3f4d04 /tools/h5tools.c
parent55b5e0fe94f2ec7f4eb8d69911c0915e4670d6ea (diff)
downloadhdf5-d6ba8a5095103b5799cd6aef4f291af275dca08d.zip
hdf5-d6ba8a5095103b5799cd6aef4f291af275dca08d.tar.gz
hdf5-d6ba8a5095103b5799cd6aef4f291af275dca08d.tar.bz2
[svn-r1327] Got rid of the extra line of setting dim_n_size incorrectly.
Tested in O2K.
Diffstat (limited to 'tools/h5tools.c')
-rw-r--r--tools/h5tools.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/h5tools.c b/tools/h5tools.c
index 7b6f51d..8dff82b 100644
--- a/tools/h5tools.c
+++ b/tools/h5tools.c
@@ -2474,7 +2474,6 @@ int h5dump_attr(hid_t oid, hid_t p_type){
need = nelmts * MAX(H5Tget_size(type), H5Tget_size(p_type));
sm_buf = malloc(need);
p_type_nbytes = H5Tget_size(p_type);
- dim_n_size = size[ndims - 1];
/*read the attr*/
if (H5Aread(oid, p_type, sm_buf) < 0){