Merge pull request #7225 from bandi13/fixStaticAnalysisError

Static analyzers complain that a->size is never initialized
This commit is contained in:
Daniel Pouzzner
2024-02-10 02:15:37 -05:00
committed by GitHub

View File

@ -4851,7 +4851,7 @@ static void _sp_init_size(sp_int* a, unsigned int size)
#endif
_sp_zero((sp_int*)am);
am->size = size;
a->size = size;
}
/* Initialize the multi-precision number to be zero with a given max size.