LGTM cleanup

This commit is contained in:
Dennis Heimbigner 2021-04-24 21:44:57 -06:00
parent ed70a2e463
commit 1f51ec56aa
3 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,7 @@
*/
#include "config.h"
#include <nc4internal.h>
#include "nc4internal.h"
#include "nc4dispatch.h"
#ifdef USE_HDF5
#include "hdf5internal.h"

View File

@ -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

View File

@ -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*);