Commit 4d2abf8f authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Remove unused stream_t member dimgroupID.

parent 64576a30
......@@ -194,7 +194,6 @@ typedef struct {
int filetype;
int byteorder;
int fileID;
int dimgroupID;
int filemode;
off_t numvals;
char *filename;
......@@ -322,9 +321,6 @@ void cdiPrintDatatypes(void);
void cdiDefAccesstype(int streamID, int type);
int cdiInqAccesstype(int streamID);
void streamDefDimgroupID(int streamID, int dimgroupID);
int streamInqDimgroupID(int streamID);
int getByteswap(int byteorder);
int streamSize ();
......
......@@ -827,7 +827,6 @@ void streamDefaultValue ( stream_t * streamptr )
streamptr->filetype = FILETYPE_UNDEF;
streamptr->byteorder = CDI_UNDEFID;
streamptr->fileID = 0;
streamptr->dimgroupID = CDI_UNDEFID;
streamptr->filemode = 0;
streamptr->numvals = 0;
streamptr->filename = NULL;
......@@ -2115,26 +2114,6 @@ int streamInqFileID(int streamID)
return (streamptr->fileID);
}
void streamDefDimgroupID(int streamID, int dimgroupID)
{
stream_t *streamptr;
streamptr = ( stream_t *) reshGetVal ( streamID, &streamOps );
streamptr->dimgroupID = dimgroupID;
}
int streamInqDimgroupID(int streamID)
{
stream_t *streamptr;
streamptr = ( stream_t *) reshGetVal ( streamID, &streamOps );
return (streamptr->dimgroupID);
}
void cdiDefAccesstype(int streamID, int type)
{
stream_t *streamptr;
......@@ -2283,7 +2262,6 @@ void streamPrintP ( void * streamptr, FILE * fp )
fprintf ( fp, "filetype = %d\n", sp->filetype );
fprintf ( fp, "byteorder = %d\n", sp->byteorder );
fprintf ( fp, "fileID = %d\n", sp->fileID );
fprintf ( fp, "dimgroupID = %d\n", sp->dimgroupID );
fprintf ( fp, "filemode = %d\n", sp->filemode );
fprintf ( fp, "//off_t numvals;\n" );
fprintf ( fp, "filename = %s\n", sp->filename );
......
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