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
41e6aba6
Commit
41e6aba6
authored
Dec 08, 2014
by
Thomas Jahns
🤸
Browse files
Remove unused stream_t member numTimestep.
parent
938d73eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/cdi_int.h
View file @
41e6aba6
...
...
@@ -205,7 +205,6 @@ typedef struct {
int
curTsID
;
/* current timestep ID */
int
rtsteps
;
/* number of tsteps accessed */
long
ntsteps
;
/* number of tsteps : only set if all records accessed */
int
numTimestep
;
/* number of tsteps : only set if all records accessed */
tsteps_t
*
tsteps
;
int
tstepsTableSize
;
int
tstepsNextID
;
...
...
src/stream.c
View file @
41e6aba6
...
...
@@ -839,7 +839,6 @@ void streamDefaultValue ( stream_t * streamptr )
streamptr
->
curTsID
=
CDI_UNDEFID
;
streamptr
->
rtsteps
=
0
;
streamptr
->
ntsteps
=
CDI_UNDEFID
;
streamptr
->
numTimestep
=
0
;
streamptr
->
tsteps
=
NULL
;
streamptr
->
tstepsTableSize
=
0
;
streamptr
->
tstepsNextID
=
0
;
...
...
@@ -2261,7 +2260,6 @@ void streamPrintP ( void * streamptr, FILE * fp )
fprintf
(
fp
,
"curTsID = %d
\n
"
,
sp
->
curTsID
);
fprintf
(
fp
,
"rtsteps = %d
\n
"
,
sp
->
rtsteps
);
fprintf
(
fp
,
"//long ntsteps;
\n
"
);
fprintf
(
fp
,
"numTimestep = %d
\n
"
,
sp
->
numTimestep
);
fprintf
(
fp
,
"// tsteps_t *tsteps;
\n
"
);
fprintf
(
fp
,
"tstepsTableSize= %d
\n
"
,
sp
->
tstepsTableSize
);
fprintf
(
fp
,
"tstepsNextID = %d
\n
"
,
sp
->
tstepsNextID
);
...
...
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