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
6e370b19
Commit
6e370b19
authored
May 02, 2019
by
Uwe Schulzweida
Browse files
Init section2Length to 0.
parent
d4e77d90
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_gribapi.c
View file @
6e370b19
...
...
@@ -478,7 +478,7 @@ void gribapiGetKeys(grib_handle *gh, int varID)
varDefKeyInt
(
varID
,
CDI_KEY_PERTURBATIONNUMBER
,
(
int
)
perturbationNumber
);
}
long
section2Length
;
long
section2Length
=
0
;
int
status
=
grib_get_long
(
gh
,
"section2Length"
,
&
section2Length
);
if
(
status
==
0
&&
section2Length
>
0
)
{
...
...
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