Commit 6e370b19 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Init section2Length to 0.

parent d4e77d90
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment