Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
3ad51683
Commit
3ad51683
authored
Nov 23, 2015
by
Thomas Jahns
🤸
Browse files
Use more concise notation.
parent
234ab049
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_gribapi.c
View file @
3ad51683
...
...
@@ -448,15 +448,14 @@ void gribapiAddRecord(stream_t * streamptr, int param, grib_handle *gh,
// fprintf(stderr, "param %d %d %d %d\n", param, level1, level2, leveltype1);
(
*
record
).
size
=
recsize
;
(
*
record
).
position
=
position
;
(
*
record
).
param
=
param
;
(
*
record
).
ilevel
=
level1
;
(
*
record
).
ilevel2
=
level2
;
(
*
record
).
ltype
=
leveltype1
;
(
*
record
).
tsteptype
=
tsteptype
;
if
(
tiles
)
(
*
record
).
tiles
=
*
tiles
;
else
(
*
record
).
tiles
=
dummy_tiles
;
record
->
size
=
recsize
;
record
->
position
=
position
;
record
->
param
=
param
;
record
->
ilevel
=
level1
;
record
->
ilevel2
=
level2
;
record
->
ltype
=
leveltype1
;
record
->
tsteptype
=
tsteptype
;
record
->
tiles
=
tiles
?
*
tiles
:
dummy_tiles
;
//FIXME: This may leave the variable name unterminated (which is the behavior that I found in the code).
// I don't know precisely how this field is used, so I did not change this behavior to avoid regressions,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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