mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r1327] Got rid of the extra line of setting dim_n_size incorrectly.
Tested in O2K.
This commit is contained in:
parent
55b5e0fe94
commit
d6ba8a5095
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user