Commit 938d73eb authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Remove unimplemented feature.

parent 4d2abf8f
......@@ -227,9 +227,6 @@ typedef struct {
int have_missval;
int comptype; // compression type
int complevel; // compression level
int curfile;
int nfiles;
char **fnames;
#if defined (GRIBCONTAINER2D)
void **gribContainers;
#else
......
......@@ -866,10 +866,6 @@ void streamDefaultValue ( stream_t * streamptr )
for ( i = 0; i < MAX_GRIDS_PS; i++ ) streamptr->ncyvarID[i] = CDI_UNDEFID;
for ( i = 0; i < MAX_GRIDS_PS; i++ ) streamptr->ncavarID[i] = CDI_UNDEFID;
streamptr->curfile = 0;
streamptr->nfiles = 0;
streamptr->fnames = NULL;
streamptr->gribContainers = NULL;
streamptr->vlistIDorig = CDI_UNDEFID;
}
......@@ -1026,14 +1022,6 @@ void streamClose(int streamID)
if ( streamptr->basetime.timevar_cache ) free(streamptr->basetime.timevar_cache);
if ( streamptr->nfiles > 0 )
{
for ( index = 0; index < streamptr->nfiles; ++index )
free(streamptr->fnames[index]);
free(streamptr->fnames);
}
if ( vlistID != -1 )
{
if ( streamptr->filemode != 'w' )
......@@ -2295,9 +2283,6 @@ void streamPrintP ( void * streamptr, FILE * fp )
fprintf ( fp, "have_missval = %d\n", sp->have_missval );
fprintf ( fp, "ztype = %d\n", sp->comptype );
fprintf ( fp, "zlevel = %d\n", sp->complevel );
fprintf ( fp, "curfile = %d\n", sp->curfile );
fprintf ( fp, "nfiles = %d\n", sp->nfiles );
fprintf ( fp, "// char **fnames;\n" );
fprintf ( fp, "// void **gribContainers;\n" );
fprintf ( fp, "vlistIDorig = %d\n", sp->vlistIDorig );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment