This commit is contained in:
Ward Fisher 2013-04-03 22:42:29 +00:00
parent ad97ab4774
commit 050ee85cfa

View File

@ -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;