Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
c2524a0f
Commit
c2524a0f
authored
Aug 24, 2012
by
Uwe Schulzweida
Browse files
stream_record.c: update from cdi-pio
parent
a4107a6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_record.c
View file @
c2524a0f
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment