fixed warning

This commit is contained in:
Ed Hartnett 2018-07-06 06:32:09 -06:00
parent fbe2b19f69
commit 0fed77be82

View File

@ -440,7 +440,7 @@ main(int argc, char **argv)
size_t nparams;
unsigned int filterid;
unsigned int params_in[4];
if (nc_inq_var_filter(ncid, varid, &filterid, &nparams, params_in));
if (nc_inq_var_filter(ncid, varid, &filterid, &nparams, params_in)) ERR;
if (filterid != H5_FILTER_SZIP || nparams != 4) ERR;
if (nc_close(ncid)) ERR;
}