Update ncpdispatch.c

Need to check the parameter stuff.
See libsrc/nc3dispatch.c#NC3_inq_var_all
for example
This commit is contained in:
Dennis Heimbigner 2017-11-14 11:07:23 -07:00 committed by GitHub
parent 4d029daf39
commit 970dde6fd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1173,6 +1173,9 @@ NCP_inq_var_all(int ncid, int varid, char *name, nc_type *xtypep,
if(contiguousp) *contiguousp = NC_CONTIGUOUS; if(contiguousp) *contiguousp = NC_CONTIGUOUS;
if(no_fill) *no_fill = 1; if(no_fill) *no_fill = 1;
if(endiannessp) return NC_ENOTNC4; if(endiannessp) return NC_ENOTNC4;
if(idp) return NC_ENOTNC4;
if(nparamsp) return NC_ENOTNC4;
if(params) return NC_ENOTNC4;
return NC_NOERR; return NC_NOERR;
} }