Fix uninitialised value

This commit is contained in:
Shahram Najm 2017-01-18 18:17:17 +00:00
parent 163f705c65
commit 6705376e3e
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ int main (int argc, char * argv[])
grib_handle * h;
double zval[ILCHAM];
int ioptimizeScaleFactor;
double zerr[2];
double zerr[2] = {0,0};
int i, m, n, k;
for (ioptimizeScaleFactor = 0; ioptimizeScaleFactor < 2; ioptimizeScaleFactor++)