diff options
author | Mark Wielaard <mark@klomp.org> | 2022-05-26 22:38:01 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2022-05-26 22:38:01 +0200 |
commit | 9de658d248f9fd304afa3321dd7a9de1280356ec (patch) | |
tree | bccfac651f59fb8f2f1badf7eb71e9b2fdcf6005 /CHANGES | |
parent | 64d6fa68c1af46f6408f832443ce23709a2f0a66 (diff) | |
download | bzip2-9de658d248f9fd304afa3321dd7a9de1280356ec.tar.gz bzip2-9de658d248f9fd304afa3321dd7a9de1280356ec.tar.bz2 bzip2-9de658d248f9fd304afa3321dd7a9de1280356ec.zip |
Initialize the fave and cost arrays fully
We try to be smart in sendMTFValues by initializing just nGroups
number of elements instead of all BZ_N_GROUPS elements. But this means
the compiler doesn't know all elements are correctly initialized and
might warn. The arrays are really small, BZ_N_GROUPS, 6 elements. And
nGroups == BZ_N_GROUPS is the common case. So just initialize them all
always. Using a constant loop might also help the compiler to optimize
the initialization.
https://sourceware.org/bugzilla/show_bug.cgi?id=28904
Diffstat (limited to 'CHANGES')
0 files changed, 0 insertions, 0 deletions