Compiler warning: [-Wmaybe-uninitialized]

This commit is contained in:
Shahram Najm 2023-04-24 14:59:46 +01:00
parent 94c657aa98
commit 6a990d87ed
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ static unsigned char* mk_bms(grib_accessor* a, double* data, unsigned int* ndata
static int post_process(grib_context* c, long* vals, long len, long order, long bias, const unsigned long extras[2])
{
unsigned long last, penultimate, j = 0;
unsigned long last, penultimate = 0, j = 0;
Assert(order > 0);
Assert(order <= 3);
if (!vals)