Skip to content
Snippets Groups Projects
Commit 2a4ce165 authored by Oliver Heidmann's avatar Oliver Heidmann Committed by Uwe Schulzweida
Browse files

removed unused variable, fixed return type of streamCloseNCMem

parent f95c6465
No related branches found
No related tags found
2 merge requests!105Develop,!104M300433/netcdf memory read write
Pipeline #89397 passed
......@@ -355,7 +355,7 @@ int cdiGetProtocol(const char *uri, const char **filename);
int streamOpenReadNCMem(int ncid);
int streamOpenWriteNCMem(int ncid);
int streamCloseNCMem(int ncid);
void streamCloseNCMem(int ncid);
// streamOpenRead: Open a dataset for reading
int streamOpenRead(const char *path);
......
......@@ -2045,7 +2045,6 @@ void
freePtrAfterNCMem(stream_t *streamptr, int recordBufIsToBeDeleted)
{
int fileID = streamptr->fileID;
int filetype = streamptr->filetype;
if (fileID == CDI_UNDEFID)
{
......@@ -2069,7 +2068,7 @@ freePtrAfterNCMem(stream_t *streamptr, int recordBufIsToBeDeleted)
}
int
void
streamCloseNCMem(int streamID)
{
stream_t *streamptr = stream_to_pointer(streamID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment