mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-03 08:01:25 +08:00
This commit is contained in:
parent
ad97ab4774
commit
050ee85cfa
@ -850,7 +850,7 @@ static int
|
||||
read_hdf5_att(NC_GRP_INFO_T *grp, hid_t attid, NC_ATT_INFO_T *att)
|
||||
{
|
||||
hid_t spaceid = 0, file_typeid = 0;
|
||||
hsize_t dims[1]; /* netcdf attributes always 1-D. */
|
||||
hsize_t dims[1] = {0}; /* netcdf attributes always 1-D. */
|
||||
int retval = NC_NOERR;
|
||||
size_t type_size;
|
||||
int att_ndims;
|
||||
|
Loading…
Reference in New Issue
Block a user