mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-31 17:50:26 +08:00
Remove unused argument from internal function
This commit is contained in:
parent
e5b83cd70f
commit
424e6280e9
@ -160,7 +160,7 @@ NCD4_open(const char * path, int mode,
|
||||
{ret = NC_ENOMEM; goto done;}
|
||||
dmrresp->controller = d4info;
|
||||
|
||||
if((ret=NCD4_readDMR(d4info, d4info->controls.flags.flags, d4info->dmruri, dmrresp))) goto done;
|
||||
if((ret=NCD4_readDMR(d4info, d4info->dmruri, dmrresp))) goto done;
|
||||
|
||||
/* set serial.rawdata */
|
||||
len = ncbyteslength(d4info->curl->packet);
|
||||
|
@ -37,7 +37,7 @@ deltatime(struct timeval time0,struct timeval time1)
|
||||
#endif
|
||||
|
||||
int
|
||||
NCD4_readDMR(NCD4INFO* state, int flags, NCURI* url, NCD4response* resp)
|
||||
NCD4_readDMR(NCD4INFO* state, NCURI* url, NCD4response* resp)
|
||||
{
|
||||
int stat = NC_NOERR;
|
||||
ncbytesclear(state->curl->packet);
|
||||
@ -46,7 +46,7 @@ NCD4_readDMR(NCD4INFO* state, int flags, NCURI* url, NCD4response* resp)
|
||||
}
|
||||
|
||||
int
|
||||
NCD4_readDAP(NCD4INFO* state, int flags, NCURI* url, NCD4response* resp)
|
||||
NCD4_readDAP(NCD4INFO* state, NCURI* url, NCD4response* resp)
|
||||
{
|
||||
int stat = NC_NOERR;
|
||||
|
||||
|
@ -195,7 +195,7 @@ getvarx(int gid, int varid, NCD4INFO** infop, NCD4node** varp,
|
||||
if((ret=NCD4_newResponse(info,&dapresp))) goto done;
|
||||
dapresp->mode = NCD4_DAP;
|
||||
nclistpush(info->responses,dapresp);
|
||||
if((ret=NCD4_readDAP(info, info->controls.flags.flags, ceuri, dapresp))) goto done;
|
||||
if((ret=NCD4_readDAP(info, ceuri, dapresp))) goto done;
|
||||
|
||||
/* Extract DMR and dechunk the data part */
|
||||
if((ret=NCD4_dechunk(dapresp))) goto done;
|
||||
|
@ -84,8 +84,8 @@ EXTERNL int NCD4_fetchlastmodified(CURL* curl, char* url, long* filetime);
|
||||
EXTERNL int NCD4_ping(const char* url);
|
||||
|
||||
/* From d4read.c */
|
||||
EXTERNL int NCD4_readDMR(NCD4INFO* state, int flags, NCURI* url, NCD4response*);
|
||||
EXTERNL int NCD4_readDAP(NCD4INFO* state, int flags, NCURI* ceuri, NCD4response*);
|
||||
EXTERNL int NCD4_readDMR(NCD4INFO* state, NCURI* url, NCD4response*);
|
||||
EXTERNL int NCD4_readDAP(NCD4INFO* state, NCURI* ceuri, NCD4response*);
|
||||
EXTERNL int NCD4_seterrormessage(NCD4response*, size_t len, char* msg);
|
||||
|
||||
/* From d4parser.c */
|
||||
|
Loading…
x
Reference in New Issue
Block a user