Skip to content
Snippets Groups Projects
Commit c2524a0f authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

stream_record.c: update from cdi-pio

parent a4107a6b
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ void cdiInitRecord(int streamID)
void streamInqRecord(int streamID, int *varID, int *levelID)
{
int rec = 0;
/* int rec = 0; */
int recID, tsID, rindex;
int lindex;
stream_t *streamptr;
......@@ -165,8 +165,8 @@ void streamInqRecord(int streamID, int *varID, int *levelID)
streamptr->curTsID = tsID;
streamptr->tsteps[tsID].curRecID = rindex;
rec = recID + 1;
/*
rec = recID + 1;
filetype = streamptr->filetype;
switch ( filetype )
......@@ -443,7 +443,6 @@ void streamCopyRecord(int streamID2, int streamID1)
{
int status = 0;
int filetype = CDI_UNDEFID, filetype1, filetype2;
int byteorder1, byteorder2;
stream_t *streamptr1;
stream_t *streamptr2;
......@@ -455,8 +454,6 @@ void streamCopyRecord(int streamID2, int streamID1)
filetype1 = streamptr1->filetype;
filetype2 = streamptr2->filetype;
byteorder1 = streamptr1->byteorder;
byteorder2 = streamptr2->byteorder;
if ( filetype1 == filetype2 ) filetype = filetype2;
......
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