Skip to content

Commit

Permalink
[Backport MR-48] COMP: Fix -Wmaybe-uninitialized in compress.c
Browse files Browse the repository at this point in the history
This commit partially backports changes associated with
https://gitlab.com/bzip2/bzip2/-/merge_requests/48
  • Loading branch information
jcfr committed Apr 26, 2022
1 parent 1c34e31 commit 391ddda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compress.c
Expand Up @@ -253,8 +253,8 @@ void sendMTFValues ( EState* s )
--*/


UInt16 cost[BZ_N_GROUPS];
Int32 fave[BZ_N_GROUPS];
UInt16 cost[BZ_N_GROUPS] = {0, 0, 0, 0, 0, 0};
Int32 fave[BZ_N_GROUPS] = {0, 0, 0, 0, 0, 0};

UInt16* mtfv = s->mtfv;

Expand Down

0 comments on commit 391ddda

Please sign in to comment.