removed commented out code

This commit is contained in:
Ed Hartnett 2018-09-06 12:34:16 -06:00
parent 20cdb78590
commit e4b7c97b75

View File

@ -817,10 +817,7 @@ NC4_def_var_chunking(int ncid, int varid, int contiguous, const size_t *chunksiz
int
nc_def_var_chunking_ints(int ncid, int varid, int contiguous, int *chunksizesp)
{
/* NC *nc; */
/* NC_GRP_INFO_T *grp; */
NC_VAR_INFO_T *var;
/* NC_FILE_INFO_T *h5; */
size_t *cs = NULL;
int i, retval;
@ -829,15 +826,6 @@ nc_def_var_chunking_ints(int ncid, int varid, int contiguous, int *chunksizesp)
return retval;
assert(var);
/* /\* Find this ncid's file info. *\/ */
/* if ((retval = nc4_find_nc_grp_h5(ncid, &nc, &grp, &h5))) */
/* return retval; */
/* assert(nc); */
/* /\* Find var cause I need the number of dims. *\/ */
/* if ((retval = nc4_find_g_var_nc(nc, ncid, varid, &grp, &var))) */
/* return retval; */
/* Allocate space for the size_t copy of the chunksizes array. */
if (var->ndims)
if (!(cs = malloc(var->ndims * sizeof(size_t))))