aboutsummaryrefslogtreecommitdiff
path: root/bzip.css
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2022-05-26 22:38:01 +0200
committerMark Wielaard <mark@klomp.org>2022-05-26 22:38:01 +0200
commit9de658d248f9fd304afa3321dd7a9de1280356ec (patch)
treebccfac651f59fb8f2f1badf7eb71e9b2fdcf6005 /bzip.css
parent64d6fa68c1af46f6408f832443ce23709a2f0a66 (diff)
downloadbzip2-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 'bzip.css')
0 files changed, 0 insertions, 0 deletions