mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
LGTM cleanup
This commit is contained in:
parent
ed70a2e463
commit
1f51ec56aa
@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include <nc4internal.h>
|
||||
#include "nc4internal.h"
|
||||
#include "nc4dispatch.h"
|
||||
#ifdef USE_HDF5
|
||||
#include "hdf5internal.h"
|
||||
|
2
oc2/oc.c
2
oc2/oc.c
@ -1943,6 +1943,7 @@ oc_data_mode(OCobject link, OCobject datanode, OCDT* modep)
|
||||
return OC_NOERR;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* Free up a datanode that is no longer being used;
|
||||
Currently does nothing
|
||||
*/
|
||||
@ -1951,6 +1952,7 @@ oc_data_free(OCobject link, OCobject datanode)
|
||||
{
|
||||
return OCTHROW(OC_NOERR);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Free up a ddsnode that is no longer being used;
|
||||
Currently does nothing
|
||||
|
3
oc2/oc.h
3
oc2/oc.h
@ -418,7 +418,8 @@ EXTERNL OCerror oc_data_ithelement(OClink, OCdatanode data, size_t* indices, OCd
|
||||
EXTERNL OCerror oc_data_ithrecord(OClink, OCdatanode data, size_t index, OCdatanode* recordp);
|
||||
|
||||
/* Free up an data that is no longer being used */
|
||||
EXTERNL OCerror oc_data_free(OClink, OCdatanode data);
|
||||
/* Currently does nothing */
|
||||
#define oc_data_free(link,datanode)
|
||||
|
||||
/* Count the records associated with a sequence */
|
||||
EXTERNL OCerror oc_data_recordcount(OClink, OCdatanode, size_t*);
|
||||
|
Loading…
Reference in New Issue
Block a user